REDWOOD CITY — A retired Redwood City police officer was arrested Thursday on suspicion of domestic violence following a long standoff, according to police and reports.

Capt. Sean Hart said the standoff started around 2 a.m., when officers responded to a report of domestic violence at a home on Windsor Way, near Jefferson Avenue and Alameda de las Pulgas. They found a woman outside the home who said she had been assaulted by a man who was still inside.

Get breaking news and alerts with our free mobile app. Get it from the Apple app store or the Google Play store.

The woman was treated at a hospital for injuries police described as non-life-threatening.

Officers telephoned the suspect, identified by KGO-TV as retired Redwood City police Officer James “Jim” McGee, but he refused to leave the residence. The home was surrounded, and officers spent the day trying to convince him to surrender, Hart said.

Neighbors were urged to evacuate or at least shelter in place while officers negotiated with McGee.

At one point, officers fashioned a ramp to gain access to the home, according to KGO-TV. McGee was finally arrested Thursday night.

Neighbors told the station it wasn’t the first time police have been called to the residence.