The House passed legislation Friday afternoon that would curtail a Department of Energy (DOE) loan guarantee program that backed a $535 million federal loan to Solyndra, the now-bankrupt solar-panel maker.

Members approved the No More Solyndras Act, H.R. 6213, in a 245-161 vote. Republicans have held the failed green-energy company as proof that the Obama administration has funneled billions of dollars to undeserving firms.

Passage sends the bill to a Senate that is expected to ignore it completely.

While the two parties have had heated debate over the Solyndra failure for the last year, 22 Democrats broke ranks and voted for the bill, along with all but four Republicans.