AUSTIN, Texas (AP) -- An attacker with a machete-like knife fatally stabbed one person and wounded at least three others Monday on the University of Texas campus, and authorities said a suspect was in custody.

Student Rachel Prichett said she was standing in line at a food truck outside a gym when she saw a man with a large knife approach the person standing behind her.

"The guy was standing next to me," Prichett said. "He grabbed him by the shoulder and shoved the knife in it. I just started running as fast as I could."

Another student, Ray Arredondo, said he was walking to his car when a mass of students near the gym started running.

"They were just screaming, 'Run! Get out of here!'" Arredondo said.

Travis County Emergency Medical Services tweeted that one person died at the scene near the gym. The others were taken to the hospital with potentially serious wounds. There were reports of additional patients with non-life-threatening injuries, the agency said.

Lindsey Clark said she saw the suspect get tackled by police as he was running toward the entrance of Jester Hall, a complex of dormitories and classrooms. She described him as wearing a bandanna and gray sweatshirt and said he appeared quiet and subdued as police held him on the ground.

"You could see and hear people running and screaming: 'There he is!'" before he was tackled by officers.

Arredondo later saw what looked like CPR being performed on someone outside the front door of the gym. Another student was sitting on a bench being treated for cuts to the head or neck, he said.

Authorities cordoned off the scene as a large contingent of state and local police, including officers in helicopters, swarmed the area.

The University of Texas is blocks from downtown Austin and the Texas Capitol and is one of the nation's largest universities.

The attack occurred in the central campus, just a short walk from the administration building and the landmark clock tower that was the scene of a mass shooting in 1966.

The attack came only a few days after a 19-year-old man armed with a machete wounded two people at a university coffee shop in Lexington, Kentucky.

In the April 28 attack, the assailant at Transylvania University asked about the political affiliations of people at the shop. He was arrested and charged with assault. The victims' wounds were not life-threatening, authorities said.