The corridors of power in Washington witnessed something increasingly rare these days: a bipartisan effort that actually crossed the finish line. The House of Representatives approved legislation Thursday to send additional assistance to Ukraine, but the path to passage tells a story about fractures within the Republican conference and the limits of leadership control.

This was no ordinary legislative process. Democratic Representative Gregory Meeks of New York launched what is known as a discharge petition nearly a year ago, a procedural tool that allows a majority of House members to force a vote on legislation that leadership might prefer to keep buried. It is a mechanism rarely successful, requiring 218 signatures and the kind of bipartisan cooperation that has become as scarce as hen’s teeth in modern Washington.

For months, the petition sat one signature short of the magic number. Then on May 13, Representative Kevin Kiley of California, an independent who caucuses with Republicans, became the decisive 218th name on the list. Every Democrat signed on, along with two Republicans: Representatives Don Bacon of Nebraska and Brian Fitzpatrick of Pennsylvania.

The real test came Wednesday when the measure needed to be discharged from the House Rules Committee. Half a dozen Republicans voted with Democrats to propel it toward final passage, a clear signal that not everyone in the party was willing to follow leadership’s preferred course on Ukraine assistance.

The underlying legislation, also introduced by Meeks, who serves as the top Democrat on the House Foreign Affairs Committee, passed Thursday with a vote of 226 to 195. More than a dozen Republicans supported it in the final tally. In an ironic twist, Democratic Representative Ilhan Omar of Minnesota, who had signed the petition to force the vote, voted against the bill itself.

The legislation authorizes up to $8 billion in military loans for Ukraine. It includes provisions for post-war reconstruction assistance and new sanctions targeting Russia, while reaffirming the importance of the NATO alliance. These are not insignificant commitments at a time when American foreign policy finds itself at a crossroads.

Ukrainian President Volodymyr Zelenskyy has been pleading for more support from the United States as Russia intensifies its attacks. Just last week, Zelenskyy sent a letter to President Trump and Congress requesting additional Patriot ballistic missile interceptors, the kind of sophisticated defensive weaponry that can make the difference between protecting civilian populations and catastrophic casualties.

The House action comes as bipartisan legislation in the Senate to impose new economic sanctions on Russia has languished for more than a year. Senators have been waiting for a green light from the White House, a signal that has not yet come.

The fate of this House bill in the Senate remains uncertain. What is certain is that this episode reveals the complicated politics surrounding Ukraine assistance, where traditional party lines have blurred and where individual conscience sometimes trumps party loyalty. Whether that proves to be a one-time occurrence or the beginning of a new pattern remains to be seen.

Related: Justice Department Drops Controversial Fund as Immigration Bill Hangs in Balance