A judge of the district or county court who has knowledge that any person is illegally confined or restrained in the person's liberty within the judge's district or county may, if the case is within the judge's jurisdiction, issue the writ of habeas corpus, without any application being made for the writ.
Tex. Code Crim. Proc. art. 11.16
WRIT MAY ISSUE WITHOUT APPLICATION
Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722
Official source: Texas Constitution and Statutes. Reproduced from public-domain Texas statutes; confirm against the official source for the current text. Not legal advice.