Obama was inaugurated in January 2009. As president, he slowly ended US participation in the Iraq War, having prepared the country to defend itself. The Al-Qaeda terrorist leader Osama Bin Laden was killed while Obama was in office. Also, he contributed to the overthrow of Muammar Gaddafi in Libya. Obama signed the Patient Protection and Affordable Care Act (often called "Obamacare") which changed many health care laws. He also enacted many acts to create public works jobs to help the economy. He became the first president to openly express support for gay marriage, proposed gun control as a result of the Sandy Hook school shooting.