A military prison is a prison operated by a military. Military prisons are used variously to house prisoners of war, unlawful combatants, those whose freedom is deemed a national security risk by the military or national authorities, and members of the military found guilty of a serious crime. Thus, military prisons are of two types: penal, for punishing and attempting to reform members of the military who have committed an offense, and confinement-oriented, where captured enemy combatants are confined for military reasons until hostilities cease. Military jail Most militaries have some sort of military police unit operating at the divisional level or below to perform many of the same functions as civilian police, from traffic-control to the arrest of violent offenders and the supervision of detainees and prisoners of war. Australia The Australian Defence Force states it has no prisons. Instead they have a single facility, the Defence Force Correctional Establishment, which aims to rehabilitate members who have been sentenced to detention for breaching military regulations or law; employees of the establishment are considered "instructors" rather than guards. Military personnel may be sent there for between 14 days' to two years' rehabilitation before returning to active duty; the average sentence is about 23 days. In addition, there are 15 detention centres located within military bases across Australia. Canada The Canadian Forces have one military prison, the Canadian Forces Service Prison and Detention Barracks (CFSPDB) (colloquially known as Club Ed), located at Canadian Forces Base Edmonton. Canadian Forces personnel who are convicted by military courts and receive a sentence of 14 days or more are incarcerated at CFSPDB. Men, although in the same prison, are kept separate from women. The prison is maintained and controlled by the Canadian Forces Military Police, although NCOs from various branches of the Canadian Forces serve at the prison as staff. Service personnel who are convicted of less serious offences are considered to be in "detention", and undergo a strict military routine aimed at rehabilitation for their return to regular military service, whereas personnel convicted of more serious offences are considered to be in "prison" and upon completion of their sentence they are released from the military. Serious offenders with sentences longer than two years are transferred to the Canadian federal prison system after serving 729 days, to complete their sentence in the civilian prison system, followed by release from the Canadian Forces. Any service personnel