An hours-long standoff with a man in South Anchorage ended Wednesday afternoon after he stabbed himself in the neck, Anchorage police say.

According to the Anchorage Police Department, at 6:15 a.m. someone called police after seeing a white sedan with what appeared to be a man being dragged next to it. Near the 4400 block of O'Malley Road the man let go, police said.

The sedan and its female driver were located by Martin Luther King Jr. Drive and Elmore Road. Police did not specify the relationship between the man and the female, but said a domestic violence incident had taken place previously at a home off O'Malley Road.

APD said when they arrived at the house the man, later identified as 28-year-old Peter Anasogak, came outside with knives. He was also shouting at police and telling them to leave. Then he went back inside the house.

At 9:30 a.m., police shut down O'Malley Road between Birch and Elmore roads. Negotiators and SWAT members with APD were called to the scene to assist. The man refused to listen to law enforcement commands, police said.

According to APD, at about 11:30 a.m., the man came out of the house and charged officers, who used non-lethal rounds and K-9s. Anasogak went back inside. About an hour later, police said, they deployed gas into the home. Shortly after, he walked out of the home with what appeared to be a self-inflicted stab wound to the neck, police said.