Congressman Jim Costa of California. (Photo by Chip Somodevilla/Getty Images)

“The residents of the District of Columbia deserve better than to have their budget held hostage by Republican obstruction,” said House Minority Leader Nancy Pelosi (D-CA), after the smaller chamber passed legislation to repeal D.C. budget autonomy yesterday afternoon.

Congressman Jim Costa of California. (Photo by Chip Somodevilla/Getty Images)

But it isn’t just the Grand Ole Party. In the final vote, two Democrats voted alongside 238 Republicans to pass the law—Congressman Jim Costa of California and Congressman Brad Ashford of Nebraska. Now one of them says he screwed up.

“Mr. Speaker, I inadvertently voted ‘aye’ for the Clarifying Congressional Intent in Providing for DC Home Rule Act of 2016 (Roll Call No. 248) when my intention was to vote no on the legislation. I support local budget autonomy for the District of Columbia and I would like the record to reflect this,” Costa submitted to the record this morning.

And what of the other Democrat, Ashford? His spokesperson Cody Uhing says that the office doesn’t have a statement on his vote yesterday, and declined to comment further. Ashford is a first term congressman in a battleground district.

D.C. Congresswoman Eleanor Holmes Norton is working to keep the bill from passage in the Senate. “The Republican Senate does not have the votes to pass the stand-alone bill to repeal the District’s referendum,” she said in a statement. President Barack Obama has threatened a veto over the legislation as well.

The appropriations bill also has a provision repealing D.C.’s ability to manage its own locally raised funds, along with restrictions on abortion, marijuana legalization, and needle exchanges in the District.

“For weeks, House Republicans have been disguising their opposition to D.C. budget autonomy with legalistic arguments, despite a court decision upholding the referendum,” Norton said in a statement. “However, Speaker Ryan candidly admitted that Republicans want to keep their authoritarian grip over D.C.’s locally-raised funds in order to block policies they oppose. Fortunately, we have strong allies in the Senate and leaders in the House who have just begun to fight.”