A legal action that requires a person who has been imprisoned to be brought to a judge or into court.