PHOENIX (AP) - Police in Phoenix say a man who had an ongoing dispute with his ex-wife has been fatally shot by her male friend.

Police identified the victim Monday as 34-year-old Brandon Branch.

They say Branch's ex-wife and her friend met with Branch around 9:30 a.m. Sunday to confront him about the dispute.

Police say Branch's ex-wife stepped out of a car while her male friend remained inside the vehicle.

They say Branch pulled out a handgun and pointed it at his ex-wife while threatening to kill her.

Police say the woman's friend had his own handgun and shots were exchanged with Branch being the only person struck.

They say Branch was taken to a Phoenix hospital, where he died.

Police say Branch's ex-wife and the shooter are cooperating with investigators.