Santa Monica police officers shot and killed a man who repeatedly stabbed his ex-girlfriend at her apartment April 13, police said.

Frank Walter Johnson, a 59-year-old transient from Santa Monica, was fatally shot after he refused to obey officers’ commands to stop stabbing his ex-girlfriend, Santa Monica Lt. Jay Trisler said. The victim, a 40-year-old Santa Monica woman, is in stable condition after she was treated for stab wounds to the face and torso at a local hospital, Trisler said.

Police responded at 6:47 p.m. to the apartment in the 2400 block of Ocean Park Boulevard after they were called by the woman’s current boyfriend regarding an assault with a deadly weapon, Trisler said. The victim was apparently in a room with her boyfriend when the suspect entered the home through a window, Trisler said.

The suspect, who allegedly was armed before entering the apartment got into a struggle with the woman’s boyfriend, who was able to flee and call police, Trisler said. Johnson then began to assault the victim, and when officers arrived at the apartment, they heard struggling in the bedroom, police said.

As the officers entered the room, they observed the victim lying on the floor with the suspect straddling her chest, repeatedly stabbing the woman in the face and torso area, Trisler said. When the suspect refused to obey the officers’ commands, police shot and killed him, he said.

Police believe the motive for the attack was a domestic dispute. The investigation is being handled by the Santa Monica Police Department’s Robbery/Homicide Unit, with assistance from the Los Angeles County District Attorney’s Justice System Integrity Division.