An argument on the Northwest Side ended with two people shot and one man dead in an apparent suicide Tuesday in Gladstone Park, according to police.

Ramon Medoza-Maguellal, 37, was arguing with a man and a woman about 8:50 p.m. in the 5500 block of North Monitor Avenue when he shot them both, Chicago police and the Cook County medical examiner’s office said. He then apparently shot himself.

Police said the incident was domestic-related. Medoza-Maguellal was pronounced dead on the scene, authorities said. He lived in Albany Park.

An autopsy Wednesday found he died of a gunshot wound to the head and his death was ruled a suicide, the medical examiner’s office said.

The wounded pair were taken to Lutheran General Hospital in Park Ridge in good condition, police said. The woman, 48, was shot in the arm, and the 29-year-old man was shot in the shoulder.

Officers recovered a weapon on the scene, police said. Area North detectives are investigating.

Read more on crime, and track the city’s homicides.