A more-than-six-hour standoff ended peacefully Saturday evening when a prison guard surrendered to police outside his home in Waipahu.

Residents of the Leolua Regent apartments, 94-099 Waipahu St., said police were called after the man allegedly rushed a neighbor with a machete.

One of the man’s nearby neighbors, who did not want to disclose her name for fear of retribution, said police were called earlier this afternoon after the man threatened her brother-in-law twice with a machete, once on the stairs leading to their apartments and once when her brother-in-law passed by his apartment.

“The guy said to my brother-in-law, ‘You and your kids trying to break into our house and steal,’” the woman said. “The first time he swung at my brother-in-law on the stairs. The second time he swung out in front of his house. He missed and then backed up and ran inside his house.”

The woman said her boyfriend yelled at the man and told him to keep his door closed because they planned to call the police. She thinks the incident began around 2:30 p.m.

“We were concerned for everyone. There’s lots of kids in this complex,” she said.

Police arrested the unidentified man just after 8 p.m. on suspicion of terroristic threatening. The man lives in the middle unit on the second floor of building C.

According to property records, the unit is owned by Renie C. Cablay. Cablay is an adult corrections officer at Oahu Community Correctional Center who is currently on leave, according to Toni Schwartz, a spokeswoman for the Hawaii Department of Public Safety.