SANTA CRUZ >> A homeless man hit a woman in the head with a golf club outside a coffee shop in downtown Santa Cruz on Friday afternoon, police said.

Officers arrested Landon Horseman, 28, who had ID from Washington state and described himself as homeless and said he recently arrived in Santa Cruz less than a week ago.

Witnesses told police he “purposely” swung at the woman’s head and shoulder, and with such force that the golf club broke, police said. He then yelled at her before walking away, police said.

People who saw the attack called 911 and followed Horseman until three officers arrived. Because he was uncooperative, police said he had to be taken into custody at gunpoint.

“Our investigation has discovered that the attack was unprovoked and completely random,” said police spokeswoman Joyce Blaschke. “The victim and Mr. Horseman have no association with each other and had no interaction prior.”

The victim is a 23-year-old visiting from Oxnard. She was being treated at Dominican Hospital as of Saturday night, and her injuries don’t appear to be life-threatening, Blaschke said.

Police booked Horseman into the Santa Cruz County Jail for assault with a deadly weapon, and currently investigating his history.