The decision to hold suspect Dylan Andrew Quick, 20, came at a video conference arraignment before dawn Wednesday. Prosecutor Caroline Dozier told a magistrate: "In a videotaped confession, he [Quick] admitted he stabbed the complainants with an Exacto knife and a scalpel because of his fantasy to kill people."
The judge decided Quick would be held without bail after hearing there were more than six victims, or complainants, and after Dozier said "a bloody knife tip was removed from one of the complainants."
Quick is charged with three counts of aggravated assault after a slashing rampage Tuesday at the CyFair campus of Lone Star College left 14 people injured, 12 of whom were hospitalized.
"According to the statement the suspect voluntarily gave investigators, he ... indicated that he has been planning this incident for some time," a statement from the Harris County Sheriff's Office said after the incident.
Witnesses described the scene at the college as chaotic, with bleeding victims collapsed to the ground, people running for cover and others giving chase or helping the injured, CNN said.
Most of the victims sustained cuts in their head and neck areas, Robert Rasa, a spokesman for the CyFair Volunteer Fire Department, said.
The school was on lockdown for a time Tuesday afternoon.
Tuesday's incident occurred less than three months after three people were wounded in a shooting at the Lone Star College's North Harris campus, also in the Houston area.
Student Ryan Ballard told the Houston Chronicle he heard shouts of "Stop that guy" and joined several others trying to chase down Quick.
"My first thought was I need to go catch him,'" Ballard said. "I don't know why I thought that."
A group of students chased the suspect and one finally reached Quick and wrapped him in a bear hug, Ballard told the Chronicle. Ballard, an offensive lineman in high school, said he knocked the two to the ground when he saw Quick trying to reach into his back pockets.
"I didn't want to wait until it was too late to make a move," he said. "I'm not going to lie. Now that I know what the man did, I realize he could have pulled a knife on me and I could have been just another statistic."