A 35-year-old man was fatally shot while trying to drive away from an altercation with another man Wednesday night in the Castor section of Northeast Philadelphia, police said.

Just after 7:10 p.m., police were called to the area of Summerdale and Magee Avenues and found the victim lying on the ground next to an SUV with the engine still running, said Chief Inspector Scott Small.

The man, who had at least one gunshot wound to his back, was transported to Jefferson Torresdale Hospital, where he was pronounced dead at 7:47 p.m., Small said.

The SUV was parked outside a neighborhood store, and the victim and another man were inside the store when an argument occurred, Small said.

The victim got into the driver’s seat of the SUV and the other man started shooting through the front passenger-side door, Small said.

The shooter then ran from the scene.

Police were told that both men were regular customers at the store, Small said.

The victim was found lying next the front driver-side door with a handgun on the ground next to him.

Police believe the gun belonged to the victim, Small said.

Police recovered three spent shell casings next to the passenger door as well as three live rounds.