A last-minute compromise clears the way for the $80 billion infrastructure package, ending weeks of gridlock over funding for rail and broadband expansion.

The chamber sat past midnight before the vote was called.