Later, in an attempt to end his own life, Kave, also around 25 years of age, consumed poison.
Both were residents of Kopri colony in Thane and the woman had broken off with the accused sometime back.
Both of them have been hospitalised and were reported to be out of danger, police said.
An offence under section 307 (attempt to murder) has been registered against the accused.
Further investigation was on.