John Ratcliffe was sworn in Tuesday morning as the next director of national intelligence, taking the reins from Richard Grenell, who served in an acting capacity at the post for the last three months.

Grenell swore in Ratcliffe at his new office.

GRENELL STEPPING DOWN AS AMBASSADOR TO GERMANY AFTER DNI STINT

Ratcliffe was confirmed by the Senate last week on a 49-44 vote. His installment comes as the intelligence community once again finds itself in the middle of a political firestorm, this time over whether Trump associates were improperly "unmasked" in intelligence reports during the latter days of the Obama administration.

Ratcliffe's nomination was earlier voted out of the Senate Intelligence Committee on a party-line vote of 8-7, reflecting lingering partisan tensions over the post.

“The DNI’s role is crucial to our national security, and I look forward to working with Director Ratcliffe as he oversees the efforts of our nation’s 17 intelligence agencies," acting Senate Intelligence Committee Chairman Marco Rubio, R-Fla., said in a statement.

Rubio added: "Director Ratcliffe understands this responsibility, and I am confident that he will fulfill all of the roles assigned to the DNI with integrity.”

During his confirmation hearing earlier this month, Ratcliffe, until recently a Republican member of Congress representing a Texas district, pledged to senators that he’d deliver intelligence information without bias if confirmed for the job. Ratcliffe, who was one of Trump’s fiercest allies during impeachment, said he had the experience to be an independent leader of the nation’s 17 intelligence agencies, given his past work as a federal prosecutor.

“The best job I ever had was to be the United States attorney and what I loved… it was an apolitical position,” Ratcliffe told the Senate Intelligence Committee earlier this month. “I stood up always to represent the United States of America. Never one party or another. And I very much view that as this role for the DNI.”

Ratcliffe offered assurances that he would stand up for whistleblowers in the intelligence community, amid heated debate over the treatment of a whistleblower whose complaint touched off impeachment proceedings.

SENATE CONFIRMS RATCLIFFE AS NEXT DIRECTOR OF NATIONAL INTELLIGENCE

He was one of the most vocal critics of former Special Counsel Robert Mueller’s investigation into Russian interference in the 2016 election.

The president nominated Ratcliffe to serve as DNI in February, just months after the congressman abruptly withdrew his name for the same post when he was first put forward to replace Dan Coats. When Ratcliffe withdrew his name, Trump at the time cited his tough treatment at the hands of “the LameStream Media.”

RATCLIFFE SAYS HE'D LEAVE POLITICS BEHIND AS DIRECTOR OF NATIONAL INTELLIGENCE

Meanwhile, Grenell, who served as acting DNI while fulfilling his role as the U.S. ambassador to Germany, will not return to his ambassador duties.