U.S. Sen. Joe Donnelly announced he will donate his pay during the shutdown to charity, after joining four other Senate Democrats in voting in favor of the short-term spending bill — which ultimately did not pass in the 50-49 vote.

Donnelly did not specify which charity or charities would receive his pay. His full statement reads:

"The most basic duty of Congress is to fund the federal government, and I voted to keep the government running. I am incredibly disappointed Congress failed to prevent a shutdown. Like in 2013, I'm going to work with my colleagues in a bipartisan manner to reopen the government, and I will donate my take-home pay during the shutdown to charity in Indiana."

Later Saturday afternoon, U.S. Rep. Luke Messer joined Donnelly in saying he also will donate his shutdown pay to charity.

In a tweet he said, "The House did its job and voted to keep the government open. Now, the Senate needs to end the filibuster and put aside the partisan political games. I will be donating my pay during the shutdown to Indiana pro-life charities."

Completing the trifecta, U.S. Rep. Todd Rokita announced that he would donate his pay to "charities supporting families of fallen border patrol and law enforcement officers who have died at the hands of illegal immigrants," he said in a tweet.

The amount of the lawmakers' pay depends on the duration of the shutdown. In 2013, Donnelly donated the $5,000 he was paid during 16 days of a federal shutdown to 10 food banks across Indiana.

The shutdown could be short-lived. Majority Leader Mitch McConnell, R-Ky., vowed early Saturday to keep the Senate in session, and the House was scheduled to reconvene Saturday to be ready to vote on whatever the Senate may pass.

McConnell said he would offer a new option to keep the government funded through Feb. 8, rather than the Feb. 16 date that the rejected bill would have set. It was not immediately clear when the Senate would vote on that plan.

Vice President Mike Pence, who is traveling to the Middle East, put the blame squarely on the Democrats in his statement about the shutdown:

"Our administration worked in good faith to put a bipartisan deal on the table that would strengthen our borders, end chain migration, eliminate the visa lottery, and deal compassionately with DACA. But rather than solve problems, Democratic leadership preferred a shutdown that has dangerous consequences for our national defense. Their action tonight — or lack thereof — is unconscionable. Our administration will do everything within our power to support the brave men and women in uniform who stand in the frontlines of freedom. But as of tonight, due to a completely avoidable government shutdown, they'll stand their post without pay."

Donnelly cited the ongoing fight against the opioid epidemic as reasoning to vote "yes" on the Republican-backed temporary spending bill.

By announcing his apparent decision to vote yes for the bill, Donnelly, a Democrat, broke ranks with most of his party. Many Senate Democrats oppose the bill because it does not provide protection for undocumented immigrants who were brought to the U.S. illegally as children.

Senate Democratic Leader Charles Schumer met with President Donald Trump Friday afternoon in an effort to resolve the issue before the midnight deadline, but were unable to strike a deal.