Police have said a gunman who killed three employees and a patient at an Oklahoma hospital was targeting the surgeon who performed his back surgery.
Dr Preston Phillips was killed in Wednesday’s attack, according to Tulsa city officials.
Police named the other victims as Dr Stephanie Husen, Amanda Glenn and William Love, at a news conference on Thursday.
The suspect died of self-inflicted gunshot wounds.
He had purchased a semi-automatic AR 15-style rifle just hours before the shooting, and was also armed with a handgun, police said.
Tulsa police chief Wendell Franklin said the man “blamed Dr Phillips for ongoing pain” following the surgery he received at St Francis Hospital on 19 May.
After his release from hospital, the suspect “called several times over several days complaining of pain and wanting additional treatment”, Mr Franklin said. It is unclear if he received further assistance.
He added that a letter recovered from the crime scene made it clear the suspect “came in with the intent to kill Dr Phillips and anyone who got in his way”.
“That letter told us the story. This was planned,” Mr Franklin said.
Police reportedly arrived at the medical building three minutes after being alerted to the incident on Wednesday afternoon – which they say ensured the death toll wasn’t higher.
Ten other injuries have been reported, officials added.
“Our training led us to take immediate action without hesitation,” Chief Franklin said.
Law enforcement response to active shooter situations is under heightened scrutiny after police in Uvalde, Texas reportedly waited 40 minutes before confronting a gunman who shot 21 dead, including 19 children.