NEED HELP

Sam has been convicted of several violent crimes. However, the court has declared him to be mentally challenged. In a few weeks, Sam will be transferred to a medical facility. Until the transfer, in which type of jail would the court make Sam stay?
A.
local jail
B.
county jail
C.
regional jail
D.
state jail