Pub. L. 88-241, pt. II, tit. 16, ch. 19, sec. 16–1908
Right of other persons to writ
§ 16–1908. Right of other persons to writA person entitled to the custody of another person, unlawfully confined or detained by a third person, as a parent, guardian, committee, or husband, entitled to the custody of a minor child, ward, lunatic, or wife, upon application to the court or a judge as provided by this chapter, and showing just cause therefor, under oath, is entitled to a writ of habeas corpus, directed to the person confining or detaining, requiring him forthwith to appear and produce before the court 77 Stat. 585or judge the person so detained, and the same proceedings shall be had in relation thereto as provided for by this chapter. The court or judge, upon hearing the proofs, shall determine which of the contesting parties is entitled to the custody of the person so detained, and commit the custody of the person to the party legally entitled thereto.