An elected official just barely returned for a second term of ensuring the Democratic Party passes legislation in the House.

Democrats struggled to use their slim majority in Congress to re-elect Rep. Nancy Pelosi (D-Calif.) as House speaker.

After losing 11 seats in the November election to the Republican Party, House Democrats could only gather 216 votes out of a total of 222 sitting party members to re-elect Pelosi.

A total of 209 voted down her reinstatement. This includes five Democrats who voted against their fellow party member, three who voted “present,” and two who chose to support lawmakers that were not running for House speakership.

Pelosi thanked the Democratic Party for giving her another term as House speaker.

“I am honored to be nominated by my colleagues to serve as the speaker of the House for the 117th Congress,” she said on Twitter.

Her first challenge will be to respond to a last-minute GOP effort to prevent Vice President Mike Pence from certifying the final result from the November election. She rejected any suggestion that Joe Biden did not win the presidential race and President Donald Trump is the rightful winner.

“Over the years, we have experienced many challenges in the House but no situation matches the Trump presidency and the Trump disrespect for the will of the people,” she said in a letter to House Democrats.

The Democrat will try to prevent representatives from expressing their opinion about the integrity of the electoral system.

“Our choice is not to use the forum to debate the presidency of Donald Trump,” she said. “While there is no doubt as to the outcome of the Biden-Harris presidency, our further success is to convince more of the American people to trust in our democratic system.”

If a House representative or U.S. senator still lodges a written objection, a debate lasting no longer than two hours will be held in individual chambers. Rules will also be tightened to limit the number of debates.

“Unless both the House and Senate vote to reject the electoral count for the state in question, the objection is rejected,” Pelosi said. “We then reconvene and proceed to the next state in the roll call.”

She revealed Congress will have to accept Biden as the next president.

“At the end of the day, which could be the middle of the night, Joe Biden and Kamala Harris will be officially declared the next president and vice president of the United States,” she said.