De homine replegiando (literally "personal replevin") is a legal remedy used to liberate a person from unlawful detention on bail, "with a view to try the question of the validity of the law under which he is held in confinement.
"[1] It is the oldest common law freedom writ.
[2] The writ is "of common right, and may be issued as of course.
"[1] Once issued, a judicial order is directed to a sheriff or a deputy ordering the replevy of the prisoner in exchange for security that they will reappear for a proceeding challenging their detention.
[1] The French word replegiando or “revendication” is derived from the Latin word replegiare meaning "pledge back."