Katharine Gorka, a controversial political appointee in the Department of Homeland Security, is leaving her position as U.S. Customs and Border Protection’s press secretary two months after accepting the job.

Gorka, who has a track record of criticizing Islam and embracing Muslim-focused conspiracy theories during her career, said Tuesday that her departure from CBP is a personal decision to spend more time with her family.

“I’m at my third-year mark in my service to the [Trump] administration. And I felt like the time has come to spend more time with my family,” said Gorka, who previously served as a senior adviser for the Department of Homeland Security. “I’ve been really honored to serve both the administration and at CBP.”

Gorka’s husband, Sebastian Gorka, served as an adviser to President Trump before his sudden departure in 2017, a week after senior adviser and former Breitbart executive Stephen K. Bannon was ousted from his position as Trump’s chief strategist.

President Trump has found a crucial tool to carry out his sweeping immigration polices: U.S. Immigration and Customs Enforcement. (John Parks, Luis Velarde/The Washington Post)

Both Gorkas previously wrote for Bannon’s Breitbart and operated in far-right political circles, focusing much of their activism on what they viewed as the dangers of Islam, before joining the Trump administration.

During her time as CBP press secretary, Gorka rarely appeared in public or on television to speak on behalf of the agency. The liberal activist group Democracy Forward sued DHS earlier this year to find out “what Gorka is doing at DHS.”

Gorka declined to discuss the details of her departure. She said she felt the Trump administration had been supportive of her work.

“I think they’ve appreciated my service, and I think people who serve in politically appointed positions understand the challenges,” she said. “It’s a very demanding job.”