Naim Stewart is on trial accused of robbing and beating a woman last September.
Samuel Booth was about to testify on Stewart's behalf when deputies say the woman recognized Booth as the never-caught second suspect in the attack.
Booth was promptly arrested in the courthouse and taken to the Gadsden County Jail. He's charged with armed robbery, aggravated battery, aggravated assault with a firearm and grand theft.
He'll go before a judge Saturday morning.
Viewers with disabilities can get assistance accessing this station's FCC Public Inspection File by contacting the station with the information listed below. Questions or concerns relating to the accessibility of the FCC's online public file system should be directed to the FCC at 888-225-5322, 888-835-5322 (TTY), or email@example.com.