The government just shut down. Here’s how it happened.

Many federal government agencies and services officially shut down midnight Saturday, after the Senate rejected a short-term spending bill that would have funded the government through Feb. 16.

The first government shutdown since 2013 came after months of confusing and contradictory statements by President Donald Trump, often on Twitter, and an unwillingness by Republicans to include legislation to protect “DREAMers.” Roughly 800,000 undocumented immigrants who have lived in the U....