Alyssa Farah, who served for two years as a top aide to Vice President Pence, is leaving her post in the White House to serve as press secretary at the Department of Defense, she announced Wednesday.

"After 2 unforgettable years at the White House with the @VP, I’m honored to head to @DeptofDefense to serve as Press Secretary on behalf of @EsperDoD & the incredible men & women of our Armed Forces," she tweeted.

After 2 unforgettable years at the White House with the @VP, I’m honored to head to @DeptofDefense to serve as Press Secretary on behalf of @EsperDoD & the incredible men & women of our Armed Forces. I look forward to joining the team helmed by @ChiefPentSpox pic.twitter.com/QnSjBmaR7k — Alyssa Farah (@Alyssafarah) August 14, 2019

Farah worked for roughly two years as the press secretary for Pence. She later added the title of communications director.

ADVERTISEMENT

Prior to her time in the White House, Farah worked as the spokeswoman for the House Freedom Caucus.

She will work in the Pentagon under recently confirmed Defense Secretary Mark Esper Mark EsperOvernight Defense: Stopgap spending measure awaits Senate vote | Trump nominates former Nunes aide for intelligence community watchdog | Trump extends ban on racial discrimination training to contractors, military Overnight Defense: Pentagon redirects pandemic funding to defense contractors | US planning for full Afghanistan withdrawal by May | Anti-Trump GOP group puts ads in military papers Official: Pentagon has started 'prudent planning' for full Afghanistan withdrawal by May MORE.

The department, like other parts of the Trump administration, has held fewer and fewer press briefings in recent months and drawn complaints from the news media and watchdogs about a lack of transparency.

When Iran shot down a U.S. drone in July, the Pentagon had a senior official phone into the briefing room to relay information to reporters, but no official stood at the podium to take questions.

The Washington Post first reported on Farah's move.