Like this article? Keep independent journalism alive. Support HuffPost.

President Donald Trump announced Wednesday that White House press secretary Karoline Leavitt will be leaving her role at the end of the month.

"Our wonderful White House Press Secretary, and one of my most trusted aides, Karoline Leavitt, will be departing her role at the end of the month so she can spend more time with her beautiful young children and family, a decision I totally understand and respect!" Trump posted on Truth Social.

Politics: 'I Kid You Not': Ex-U.S. Ambassador Spills On The 1 Trump Meeting That Made Him Quit

Trump said Leavitt, who became the 36th White House press secretary last year, will instead "be one of my top advisers, and an influential voice within the Republican party."

"Karoline has been a real leader in the White House, and has done a phenomenal job fighting for Justice, Liberty, and Freedom, since 2018, including our Historic Re-Election Campaign of 2024," Trump added. "Karoline has been one of the best White House Press Secretaries in the History of the Office. Thank you, Karoline, for a job well done!" 

In a social media post Wednesday, Leavitt said her time at the White House has been an "adventure of a lifetime."

"Serving as the White House Press Secretary over the past year and a half has been the honor and adventure of a lifetime," Leavitt posted on X. "I am incredibly grateful to President Trump for granting me so many extraordinary opportunities, such as working in the West Wing and spending countless hours in the Oval Office, flying around the world and meeting foreign leaders, and traveling across our beautiful country and meeting Americans from all walks of life."

Politics: Sean Duffy's Son-In-Law Michael Alfonso, Backed By Trump, Wins GOP Primary In Wisconsin

Leavitt has been one of Trump'stopsycophants and attack dogs against the press. In October, Leavitt responded to a HuffPost reporter's question with a "your mom" joke.

More recently, Leavitt, 28, attacked her fellow Gen Z peers.

"This generation, my generation, I hate to say it, Gen Z and those younger than me have been raised with just silver spoons in their mouths," Leavitt said on Fox News in July.

She added that they are used to "getting everything handed to them."

Politics: Ken Paxton Gets Knocked On His Butt By Blunt Question At Town Hall

In her announcement Wednesday, Leavitt warned against the "extremist" Democratic Party.

"Our country is facing an existential threat from an increasingly extremist Democrat Party that seeks to destroy everything great about America, and I believe it is incumbent upon all of us who care about this country to fight back against that threat," she wrote. "My fight is entering a new phase, but it is far from over."

Dem Establishment Pick Wins In Wisconsin, Mike Lindell Won't Concede: Live Updates

White House Spox Denounces 'Left-Wing Cult Of Hatred' Following Press Dinner Attack

Trump's Favorite Spokesperson Has Major Family News