The 2012 National Defense Authorization Act (NDAA) is the yearly bill to provide funding for the military and defense related items. The 2012 version of this legislation was controversial due to provisions dealing with arrest and detention of terrorists and those affiliated with al-Qaeda. The legislation affirms that the President has the authority to detain enemy combatants captured on the battlefield under the 2001 authorization for the use of force against the Taliban and al-Qaeda. It then defines those who can be detained as "covered persons" and establishes this group as anyone affiliated with al-Qaeda or the Taliban. The legislation also states that those people can be held until the end of hostilities, until a tribunal with proper authority is established, or until those people are transferred to the proper authority. Prior to the act, any US citizen in alliance with Al Qaeda was accused of a crime, with criminal penalties and protections. The House version of the legislation was H R 1540 and passed that chamber in May of 2011. The Senate passed a similar version in early December as S 1867. A final conference report to merge the two pieces of legislation was passed on December 15 and 26 in the Senate and House respectively. President Obama signed the bill into law on December 31, 2011. http://www.thepoliticalguide.com/Issues/2012_NDAA/
The NDAA was written by the Senate Committee. The NDAA was later on signed by the U.S president Barak Obama on December 31st 2011. The law specifies the U.S Department of Defense budget and expenditure.