Republicans were forced to use a special maneuver to steer around opposition in their own party and speed the measure to the floor, relying on Democratic cooperation to push it through.
A high-energy laser weapon and a power struggle between federal agencies brought a night of hassles to the city.
Security lines are shorter, but the shutdown continues and pay is unresolved. With the World Cup around the corner, T.S.A. agents are tempering their expectations.
A bill to reopen the department, which the House G.O.P. rejected on Friday, could be approved as early as Thursday. It was a sharp turnaround by the lawmakers and President Trump.
The president is using the standoff over funding the Department of Homeland Security as leverage to pass a strict voter ID bill. Critics say the bill would place an undue burden on eligible voters.
Tom Homan, President Trump’s chief border official, cast the operation largely as one to help ease long security lines that have been frustrating passengers at U.S. airports.
Richard Grenell once hoped to be President Trump’s secretary of state. Instead, Mr. Trump just replaced him as Kennedy Center president.