In early 2002 the first major petition for a writ of habeas corpus regarding Guantanamo detainees was filed. This was denied on the foundation that U.S courts lacked jurisdiction over the camp and its prisoners; Guantanamo Bay is located in Cuba, outside of the territory of the USA, and the writ of habeas corpus is 'not available to aliens outside the sovereign territory of the USA'. The lease of Guantanamo Bay to the US on the part of Cuba reads 'while on one hand the US recognises the continuance of the ultimate sovereignty of the Republic of Cuba. ... on the other hand the Republic of Cuba consents that ... the USA shall exercise complete jurisdiction and control over and within said area'. Early courts claimed that Guantanamo does not technically belong to USA so habeas corpus could not apply. The Combatant Status Review Tribunals (CSRT) was created as an outcome from early petitions for habeas corpus. Its role was to establish whether or not detainees are actually enemy combatants.