SAN JOSE — A naked man wandering around downtown was taken into custody within a block of City Hall early Saturday afternoon after being tased, pepper-sprayed and struck with rubber bullets by police.

Officer Albert Morales, a spokesman for the San Jose Police Department, said they began receiving calls at 12:27 p.m. of a man making his way through a neighborhood without any clothes.

“It appeared that he was high on something,” Morales said. “He was walking from house to house. We had kids who were scared. Officers used non-lethal force to try to subdue him.”

The man ended up on the small porch of a North Fifth Street house, not far from East St. John Street. Photos of the standoff show a man, wearing only shoes, cornered by officers. Police closed off the street as they worked to finally get him to surrender.

“We think he just got tired,” Morales said.

After the unidentified man was apprehended, police learned that he had three outstanding warrants.

Follow Mark Emmons at Twitter.com/markedwinemmons.