NEW YORK, Nov. 25 (UPI) — President-elect Donald Trump named Donald McGahn, a former lawyer for his campaign, to the post of White House counsel and assistant to the president, his transition team announced Friday.

Trump also named Fox News contributor and former Reagan administration official K.T. McFarland as deputy National Security Adviser.

McGahn served as general counsel to Trump’s presidential campaign and will step into a similar role as the top lawyer for the White House. In a statement, Trump thanked McGahn for leaving private practice at the law firm Jones Day to serve in his administration.

“Don has a brilliant legal mind, excellent character and a deep understanding of constitutional law,” Trump said in a release from the Trump transition team. “He will play a critical role in our administration, and I am grateful that he is willing to serve our country at such a high-level capacity.”

McGahn is also a former chairman of the Federal Elections Commission.

McFarland is a contributor to Fox News where she has analyzed national security issues. She will serve as the chief deputy to recently named National Security Adviser Michael Flynn, a retired Army general who was head of the Pentagon’s intelligence-gathering operation.

McFarland ran unsuccessfully for U.S. Senate in New York in 2006.