Racing against a midnight deadline, the U.S. Congress will try on Friday to send President Donald Trump legislation to keep the government operating and avoid federal agency shutdowns that would otherwise begin on Saturday.

The House of Representatives voted 230-197 on Thursday night for a bill to extend expiring funding through Feb. 16.

But with tempers frayed and Republicans and Democrats deeply divided over immigration legislation that has found its way into the government funding fight, the bill appeared to be on the verge of collapse in the Senate.

The government currently is being funded by a third temporary measure since the new fiscal year began in October.

Read more in Reuters.