A feud over a woman led one man to fatally shoot his coworker and then shoot himself in the head at a General Motors engine factory in Ohio, police said.

A third employee was wounded at the DMAX plant Thursday night, possibly by a stray bullet as the man fired more than 12 rounds from a handgun, Moraine Police Sgt. Andrew Parish said during a news conference Friday.

“This was a feud between the two men, apparently over a female,” Parish said.

The woman the men were feuding over also works at the plant, but it wasn’t clear if she was there at the time. She wasn’t injured, Parish said.