The idea that someone accused of a crime must be brought to court and a reason has to be given for that person to be kept in jail is known as?

A. The write of habeas corpus

B. A bill of attainder

C. Ex post facto law