A Texas judge ordered a defendant's mouth to be taped shut after the man kept interrupting his lawyer and the judge during an aggravated assault trial.

For about 20 minutes Tuesday, Carl Wiley, 36, ignored pleas from state District Judge Jim Bob Darnell and his own mother to keep quiet during a hearing outside the jury's presence.

Finally, Darnell ordered bailiffs to seal Wiley's mouth with duct tape.

"He was being very disruptive and he was trying to fire his second court-appointed attorney, and I informed him that when the attorney is appointed by the court, only the court can fire the attorney," Darnell said.

"Mr. Wiley continued to interrupt him," Darnell said, referring to attorney Steve Hamilton, "so the court duct-taped his mouth until the jury came in. Then I had him removed from the courtroom."

Hamilton declined to comment on the incident or on his client's conviction later Tuesday for ramming his vehicle into his estranged wife's car. She was not injured.

No sentencing date has been set.