The Military Commissions Act 2006 was passed on 17 October 2006, allowing trial in military court for war criminals. On 12 June 2008, the US Supreme Court decided against the government. Justice Antony Kennedy said that Guantanamo prisoners had the right to petition in federal court.