A man who had been holed up in an apartment in University City was in custody Friday following a standoff with San Diego Police lasting more than three-and-a-half hours.

The standoff with the suspect in the 9100 block of Judicial Drive near La Jolla Village Drive began shortly after 7 p.m. Thursday, according to San Diego police.

The suspect, who may have been involved in domestic violence, was believed to be armed and was holed up inside the apartment with two family members, according to news reports. Several residents were kept out of their homes as the standoff ensued.

The suspect surrendered around 10:40 p.m., San Diego police Officer Robert Heims said. His name was not immediately released.

— City News Service

Chris Jennewein is founder and senior editor of Times of San Diego.