A fatal shoot out between a police officer and two brothers at a gas station in Mississipi was caught on surveillance camera Wednesday morning.

The officer had been conducting a traffic stop for a white SUV at a Valero gas station in Jackson, Mississipi, when the shooting took place.

When the driver of the SUV - 30-year-old Eric Reed - hops out of the vehicle to confront the officer, the two immediately get caught up in a scuffle.

An officer was conducting a traffic stop for a white SUV at a Valero gas station in Jackson, Mississipi, when the shooting took place

Eric Reed, the 30-year-old driver, was engaged in a squabble with the officer (left in white) before his brother, 26-year-old Chauncy (right), tried to intervene

During the commotion, the officer can be seen trying to reach for what appears to be his weapon but Eric won't let him.

As the scuffle continues, Eric's 26-year-old brother - Chauncy Reed - tries to intervene to no avail.

He whips out a gun and starts shooting at his brother and the officer who are still in the struggle.

The officer is able to retreat while the two brothers get into their SUV and continue to engage in the shootout

The officer is able to retreat while the two brothers get into their SUV and continue to engage in the shootout.

Eric Reed was hit during the ordeal and would later succumb to his wounds.

Chauncy was taken into custody and charged with aggravated assault on a police officer and capital murder, according to WAPT.

Eric Reed was hit during the ordeal and would later succumb to his wounds. Chauncy was taken into custody and charged with aggravated assault on a police officer and capital murder

Police handling the case turned it over to the Mississippi Bureau of Investigation.

MBI agents stayed on the scene until Wednesday, where they marked several casings that were found.

Officials at the Hinds County Detention Center in Raymond tell local media that Chauncy Reed, 26, was released late Thursday on accident.

Officers took Reed back into custody hours later. He's now jailed in Madison County.