A man in North Carolina shot and killed a patient as he was being treated in an ambulance, police said.

Prentice Bess, 32, was taken into custody after Charlotte-Mecklenburg cops responded to a disturbance call at a Days Inn in south Charlotte at about 4 a.m. Wednesday, police said.

Paramedics had started treating Jeremy Whitted, 34, inside an ambulance outside the hotel when Bess allegedly shot him.

“Officers were able to immediately take the suspect into custody,” police said in a news release. “The paramedics on scene were not injured.”

Bess was charged with murder after being interviewed by homicide detectives, police said.

Paramedics met up to six people outside the hotel, where they responded after one reported that they were having difficulty breathing, investigators told WBTV.

As Whitted was being examined, he asked a friend to come help him. Bess was denied entry into the ambulance, prompting him to briefly leave and come back to shoot Whitted “several times,” police told the station.

Whitted was pronounced dead at the scene. An investigation into the shooting is ongoing, police said.