(CBS DETROIT) – A government shutdown was averted overnight, as President Donald Trump signed a new funding bill.

The bill keeps the government open through Dec. 11.

READ MORE: Science of Weather: Sea Life Michigan Turtles

It was actually signed past midnight after President Trump’s rally in Minnesota, but no federal agencies closed.

READ MORE: Motown Museum Set To Reopen This Weekend With Expansion Project Near Completion

The law ensures the federal government stays open during the pandemic and election.

MORE NEWS: Senate GOP Facing Criticism Following Insulin Cap Vote

© 2020 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.