Detention under deportation powers 1986 Persons detained 1331 ms Less than 1 month 1 to 2 months 2 to 3 months Over 3 months 322 ( 62%) 132 ( 25%) 38 ( 30 ( 7%) 6%) 259 ( 46%) 169 ( 30%) 66 ( 12%) 66 ( 12%) 746 (71%) 186 (18%) 52 ( 5%) 60 ( 6%) 522 (100%) 560 (100%) 1 044 (100%) Detention of illegal entrants Length of detention Less than 2 weeks 2 weeks to 1 month 1 to 2 months 2 to 3 months Over 3 months 1986 494 ( 58%) 241 ( 29%) 57 ( 21 ( 30 ( 7%) 2%) 4%) Persons detained 1331 1288 659 ( 59%) 252 ( 24%) 103 ( 9%) 33 ( 3%) 56 ( 5%) 1 317 ( 76%) 186 ( 10%) 120 ( 7%) 40 ( 3%) 72 ( 4%) 843 (100%) 1 103 (100%) 1 735 (100%) Unlawful arrest or detention - compensation 125. Persons who have been detained in custody without lawful authority may take action at law to seek redress and may apply to the Secretary of State for an ex gratia payment of compensation. Where a person has been held in custody charged with an offence which has subsequently not been pursued, or where there has been an acquittal at court or on an appeal made within the normal time-limits, an application may be made for an ex gratia payment of compensation. The basis on which such claims are considered was outlined in a statement made by the Home Secretary on 29 November 1985. Payment will be considered only where the detention has resulted from serious default on the part of a member of the police or some other public authority, or in other exceptional circumstances, for example where facts emerge at trial which 
**Analysis**
The text appears to be related to the administration and regulation of immigration and detention in a country. It discusses detention powers, length of detention, and compensation for unlawful arrest or detention. The text does not seem to be related to economic development, natural resources, agriculture, forestry, fishing, industry, transport, communication, international trade, health, education, employment, humanitarian aid, or culture. The topic is more focused on law enforcement and governance.

**Category**
Humanitarian aid and relief, Law enforcement