The U.S. Senate completed congressional action Thursday on a new $40 billion aid package for Ukraine, overwhelmingly approving it and sending the measure to President Joe Biden for his expected signature.

The package is intended to buttress Ukraine over the next five months to combat Russia’s ongoing invasion. It includes money for military equipment, training and weapons, as well as billions of dollars in humanitarian aid, including money to help address global food shortages caused by the three-month conflict.

The assistance replenishes stocks of U.S. equipment sent earlier to Ukraine and provides financing to help other countries that are assisting the Kyiv government.

The 86-11 Senate vote came on top of an equally lopsided vote in favor of the legislation in the House of Representatives last week, a broad show of continuing U.S. support for Ukraine at a time when the politically fractious Congress is often sharply divided on the major issues of the day. Republicans cast all the “no” votes in the Senate.

The aid package was about $7 billion more than Biden originally proposed. But he has voiced support in one way or another for Ukraine on an almost daily basis and plans to sign the legislation.

Ahead of the Senate vote, several lawmakers said helping Ukraine in its fights against Moscow and Russian President Vladimir Putin was an imperative.

Senate Republican Minority Leader Mitch McConnell said, “Aid for Ukraine goes far beyond charity. The future of America’s security and core strategic interests will be shaped by the outcome of this fight.”

“Anyone concerned about the cost of supporting a Ukrainian victory should consider the much larger cost should Ukraine lose,” McConnell warned, calling on “every senator on both sides to join this bipartisan supermajority.”

A Democratic lawmaker, Senator Jack Reed, chairman of the Senate Armed Services Committee, said, “The next several months will be critical. I think the realization is … that if the Russians succeed here, that won’t satisfy them, that that will empower them to do more.”

Pentagon spokesman John Kirby said this week, “We all want to see the fighting end. What we’re doing in the meantime is trying to provide as many advantages to the Ukrainian armed forces as we can so that they are in a better position on the battlefield — and, should there be a negotiated end to it, that they’re in a better negotiating position as well.”