WASHINGTON – Partisan divides were on full display in the U.S. Capitol on Wednesday night as lawmakers voted to end the longest-ever government shutdown.

After a nearly two-month recess, members of the House of Representatives unleashed weeks' worth of frustration on the floor of the chamber over the history-making funding crisis that was largely left to the Senate to resolve.

Members of the House, who last voted on Sept. 19, returned to the nation's capital to approve the Senate-passed funding package that would reopen the government. Almost all Democrats opposed the measure, saying it didn't do enough to address the rising cost of health care. Most Republicans supported it, though. The final vote was 222-209.

More: Master stroke or dumb luck, Dems may win shutdown's long game

For both parties, the night brought its fair share of snags and notable scenes. Here are 5 key moments: