The correct answer is A. The write of habeas corpus
According to the writ, the country can't keep you in jail unless they provide a valid reason to a court and the person can present their case and ask to be released if there is no valid reason. If the person is kept in jail, that's unconstitutional and the government is breaking the law.