"The View" co-host Ana Navarro praised outgoing Speaker of the House Nancy Pelosi on Thursday for breaking the glass ceiling and said "thank you, Nancy Pelosi" after Republicans officially took control of the House. 

"So whatever, you know, some people hate Nancy Pelosi. She’s demonized on the right. Some people love Nancy Pelosi. She’s given some of the best memes in U.S. history as well. I just want to say, forget politics. Forget partisanship. As a woman, thank you, Nancy Pelosi for breaking that glass ceiling," Navarro said.

Navarro, who continues to identify as a Republiican but is a staunch liberal who openly supports Democrats, said Pelosi gave a "master class" of what it was like to lead as speaker with a small majority. 

"She had a squad to her left that gave her all sorts of heartburn for all these years," the host continued. 

Ana Navarro

"The View" co-host Ana Navarro thanked Speaker of the House Nancy Pelosi on Thursday. (Screenshot/ABC/TheView)

SPEAKER NANCY PELOSI WILL ADDRESS POLITICAL FUTURE AFTER DEMOCRATS LOSE HOUSE MAJORITY TO REPUBLICANS

Pelosi announced Thursday that she would be stepping down from Democratic leadership in the House of Representatives after leading House Democrats since 2003. 

"With great confidence in our caucus, I will not seek re-election to Democratic leadership in the next Congress," Pelosi said, addressing the House floor. "For me the hour has come for a new generation to lead the Democratic caucus that I so deeply respect, and I'm grateful that so many are ready and willing to shoulder this awesome responsibility."

Navarro applauded Pelosi as the first female Speaker of the House and for breaking the glass ceiling ahead of Pelosi's announcement. 

After Republicans gained control of the House, speculation around Pelosi's next moves grew in the wake of the attack on her husband Paul Pelosi. 

House Speaker Nancy Pelosi attends COP27 UN Climate Summit

Speaker of the House Nancy Pelosi, D-Calif., speaks at the Resilience Hub at the COP27 U.N. Climate Summit, Thursday, Nov. 10, 2022, in Sharm el-Sheikh, Egypt. (AP Photo/Peter Dejong)

NANCY PELOSI GIVES UPDATE ON HUSBAND PAUL'S RECOVERY AFTER HAMMER ATTACK: 'IT'S GOING TO BE A LONG HAUL'

House Democratic Conference Chairman Hakeem Jeffries of New York is considered her most likely successor.

Pelosi has represented California’s 12th Congressional District for over 35 years and has served in Democratic leadership for 19 years. She announced that she would continue to serve in Congress after being re-elected in last week's midterm elections. 

President Joe Biden and Nancy Pelosi

WASHINGTON, DC - AUGUST 9: (L-R) U.S. President Joe Biden, CEO of SparkCharge Joshua Aviv and Speaker of the House Nancy Pelosi (D-CA) arrive for a signing ceremony for the CHIPS and Science Act of 2022 on the South Lawn of the White House on August 9, 2022 in Washington, DC. (Chip Somodevilla/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

The GOP officially won 218 seats after The Associated Press projected that Republican Mike Garcia won re-election in California's 27th Congressional District.