By Bria Brown

(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: Detroit Teen Shot In Head, Critically Injured

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

READ MORE: Contract Talks To Resume At Kellogg's Amid Cereal Strike

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

MORE NEWS: Michigan Senate Approves End To Tax On Menstrual Products

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