A bail bond is entered into either before a magistrate, upon an examination of a criminal accusation, or before a judge upon an application under habeas corpus; or it is taken from the defendant by a peace officer or jailer if authorized by Article 17.20 (Bail in Misdemeanor), 17.21 (Bail in Felony), or 17.22 (May Take Bail in Felony).Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722. Amended by Acts 1971, 62nd Leg., p. 3045, ch. 1006, Sec. 1, eff. Aug. 30, 1971.Amended by:Acts 2011, 82nd Leg., R.S., Ch. 736 (H.B. 1070), Sec. 2, eff. June 17, 2011.