Santa Barbara County sheriff’s deputies arrested a Carpinteria man Tuesday after he allegedly threatened people with a baton and then barricaded himself in an office at the Birnam Wood Golf Club in Montecito.

Deputies responded to the golf course and found Chris Ernest Wiedmann barricaded inside a fitness center office, sheriff’s spokeswoman Raquel Zick said.

“After a short standoff, the suspect exited the office, dropped the baton and was taken into custody,” Zick said. “Deputies report that the man was combative, including spitting in a deputy’s face.”

Wiedmann, 70, was booked into jail custody on suspicion of battery on a peace officer, brandishing a weapon, trespassing, obstruction, possession of a baton, and carrying a concealed firearm in a vehicle, according to arrest logs.

Deputies searched his vehicle and found a loaded handgun, swords and escrima-style fighting sticks, Zick said.

Custody logs indicate Wiedmann remained in custody Wednesday afternoon, with bail set at $150,000. His occupation is listed as martial arts teacher.

Birnam Wood President Richard De Schutter sent an email message to members saying all staff were safe and no injuries were reported.

Wiedmann is a former club employee who entered the property, unauthorized, and showed erratic behavior, the message said.

The club’s security team observed him from a distance the whole time.

“He made his way into the fitness center, where he barricaded himself in an office,” the message said. “Deputies who had been alerted in a 9-1-1 call responded with force. With deputies in the room, he was taken into custody.

“I can’t say enough about the professionalism and grace under pressure of our security team,” De Schutter said. “In a situation which could have turned terribly ugly, their intensive training and cool demeanor played a large part in saving the day. We are thankful for local law enforcement and the quick actions of our own security force.” Their combined efforts made this a near miss as opposed to a far worse outcome”