Here is the section of the law that you are looking for. If your husband is accused of a felony they have 90 days to take him to trial or to release him on bail. Take a look and see if any of the other conditions apply to him. Good luck dear.
Art. 17.151. RELEASE BECAUSE OF DELAY. Sec. 1. A defendant
who is detained in jail pending trial of an accusation against him
must be released either on personal bond or by reducing the amount
of bail required, if the state is not ready for trial of the
criminal action for which he is being detained within:
(1) 90 days from the commencement of his detention if he is
accused of a felony;
(2) 30 days from the commencement of his detention if he is
accused of a misdemeanor punishable by a sentence of imprisonment
in jail for more than 180 days;
(3) 15 days from the commencement of his detention if he is
accused of a misdemeanor punishable by a sentence of imprisonment
for 180 days or less; or
(4) five days from the commencement of his detention if he
is accused of a misdemeanor punishable by a fine only.
Sec. 2. The provisions of this article do not apply to a
defendant who is:
(1) serving a sentence of imprisonment for another offense
while the defendant is serving that sentence;
(2) being detained pending trial of another accusation
against the defendant as to which the applicable period has not yet
elapsed;
(3) incompetent to stand trial, during the period of the
defendant's incompetence; or
(4) being detained for a violation of the conditions of a
previous release related to the safety of a victim of the alleged
offense or to the safety of the community under this article.
Sec. 3. Repealed by Acts 2005, 79th Leg., ch. 110, Sec. 2.
Added by Acts 1977, 65th Leg., p. 1972, ch. 787, Sec. 2, eff. July 1,
1978.
Sec. 2 amended by Acts 2005, 79th Leg., ch. 110, Sec. 1, eff. Sept.
1, 2005; Sec. 3 repealed by Acts 2005, 79th Leg., ch. 110, Sec. 2,
eff. Sept. 1, 2005.