Senate Minority Leader Chuck Schumer announced that Democrats had agreed to a deal to end the government shutdown. Picture: AFP