Austin police have arrested a man suspected of pulling a butcher knife on a jogger on the Ann and Roy Butler Hike and Bike Trail on Wednesday.

Police were called to the trail near the 1200 block of W. Cesar Chavez Street around 8:46 a.m. after reports of a man with a long beard and no shirt chasing another man while holding a knife, according to an arrest warrant affidavit filed Wednesday.

When officers arrived, the man who was being chased flagged them down and told them the attacker was down by the water.

Police found the man, later identified as Marcos Villalobos, 40, in a gazebo adjacent to the trail, the affidavit said.

“It appeared as if Marcos was camping out of the gazebo,” the document said. “Marcos was handcuffed and detained.”

The jogger told police he was running along the trail and decided to head toward the water around the gazebo area.

When he got there, he found Villalobos there. The affidavit said Villalobos held the knife in his hand, pointing the blade downward, and told the jogger to get out of the area.

The jogger told police he was afraid Villalobos was going to stab him, so he left the gazebo and walked to the opposite side of the trail to keep his distance, the affidavit said. Villalobos then left the gazebo and began chasing the jogger with the knife, according to the report.

After police detained Villalobos, they found a knife matching the description the jogger gave in a Tupperware bin with cooking spices.

A witness told police the jogger ran north across Cesar Chavez Street in heavy traffic to get away, the affidavit said. The witness said had he not done that, he thought Villalobos may have caught him.

The document said police have previously identified Villalobos as someone with mental health issues. The report said Villalobos said he chased the jogger to defend himself, but could not list any threatening actions the jogger took.

Villalobos has been charged with aggravated assault with a deadly weapon. He was still being held at the Travis County Jail on Thursday on a $30,000 bail, jail records show.