The House of Representatives approved legislation authored by Rep. Barbara Lee on Thursday that would repeal the 2002 Authorization for Use of Military Force (AUMF) that led to the war in Iraq.

A bill, introduced by Rep. Ro Khanna that withholds military spending for any military conflict with Iran without congressional consent, also passed the House on Thursday.

The vote for each bill was along party lines. However, 11 Republicans joined in support of Lee’s AUMF repeal, while four backed Khanna’s “No War Against Iran Act.”

“The American government has spent trillions of taxpayer dollars fighting endless wars across the Middle East. Today, Congress passed two historic pieces of legislation to reassert our authority over matters of war and peace,” Khanna said.

Lee and Khanna made their appeal for passing their legislation in a tweet Thursday morning.