U.S. President Donald Trump arrives aboard Air Force One at JFK International Airport in New York, U.S. May 4, 2017. REUTERS/Jonathan Ernst

WASHINGTON (Reuters) - President Donald Trump on Friday signed a $1.2 trillion spending bill approved by Congress, averting a government shutdown that would have begun at midnight.

White House spokeswoman Sarah Huckabee Sanders, speaking to reporters at a regular media briefing, confirmed the president had signed the bill.