Which key term is an order to bring a jailed person before a court to find out whether he or she should be in prison?
A. Legislation
B. Writ of habeas corpus
C. Ex post facto law
D. Bill of attainer