Just after midnight on Oct. 17, President Obama signed legislation that avoided a dangerous default and reopened the government after the third-longest government shutdown in history. Under the terms of the deal, the government was funded through Jan. 15, 2014, and the debt limit was extended until Feb. 7, 2014.