A Georgia police officer who was shown on video telling a woman during a traffic stop not to worry because police “only kill black people” retired on Thursday, his attorney said, after authorities sought the officer's dismissal.

The dash cam video, which was aired by WSB-TV in Atlanta on Wednesday, shows the Cobb County police officer standing by a car pulled over alongside a road last year and instructing the woman in the front passenger seat to use the cellphone in her lap to make a call.

“OK I just don't want to put my hands down,” the woman tells the officer, adding that she has seen “way too many videos of cops,” before trailing off.

“But you're not black,” the officer replies. “Remember, we only shoot black people. Yeah. We only kill black people, right? All the videos you've seen, have you seen the black people get killed?”

Officials have identified the officer as Lieutenant Greg Abbott. The station, which obtained the video through public records laws, broadcast only a short excerpt of a longer encounter.

Numerous videos from dash cams, body-worn cameras and cellphones in recent years have shown US police officers killing unarmed black people during encounters, sparking debate about excessive use of force and racial disparities in the criminal justice system.

“This afternoon, after 27 years of faithful service to the citizens of Cobb County, Lieutenant Greg Abbott made the decision to retire,” his attorney, Lance LoRusso, said in an email.

Earlier on Thursday, Cobb County Police Chief Mike Register said he knows Abbott to be “honourable” but that authorities would begin the process of firing him.

“I don't know what's in his heart but I certainly know what came out of his mouth, and it's inexcusable,” Register said at a news conference.

Suri Chadha Jimenez, a lawyer who represented the car's driver, said the officer responded in an “unprofessional” way to what he saw as the reasonable concern of the woman, whom he described as a friend of the driver.

“My understanding is the cop is joking,” Chadha Jimenez said by phone, adding that it was “a nasty, sarcastic, untasteful joke.” The driver was later convicted of driving while under the influence of alcohol, Jimenez said.

Violence on the streets of Charlottesville Show all 9 1 /9 Violence on the streets of Charlottesville Violence on the streets of Charlottesville Protesters clash and several are injured White nationalist demonstrators clash with counter demonstrators at the entrance to Lee Park in Charlottesville, Virginia. A state of emergency is declared, August 12 2017 Violence on the streets of Charlottesville Trump supporters at the protest A white nationalist demonstrator walks into Lee Park in Charlottesville, Va., Saturday, Aug. 12, 2017. Hundreds of people chanted, threw punches, hurled water bottles and unleashed chemical sprays on each other Saturday after violence erupted at a white nationalist rally in Virginia. AP Photo Violence on the streets of Charlottesville State police stand ready in riot gear Virginia State Police cordon off an area around the site where a car ran into a group of protesters after a white nationalist rally in Charlottesville, Virginia AP Photo Violence on the streets of Charlottesville Militia armed with assault rifles White nationalists, neo-Nazis and members of the 'alt-right' with body armor and combat weapons evacuate comrades who were pepper sprayed after the 'Unite the Right' rally was declared a unlawful gathering by Virginia State Police. Militia members marched through the city earlier in the day, armed with assault rifles. Getty Images Violence on the streets of Charlottesville Statue of Confederate General Robert E Lee The statue of Confederate General Robert E. Lee stands behind a crowd of hundreds of white nationalists, neo-Nazis and members of the 'alt-right' during the 'Unite the Right' rally 12 August 2017 in Charlottesville, Virginia. They are protesting the removal of the statue from Emancipation Park in the city. Getty Images Violence on the streets of Charlottesville Racial tensions sparked the violence White nationalists, neo-Nazis and members of the 'alt-right' exchange insults with counter-protesters as they attempt to guard the entrance to Lee Park during the 'Unite the Right' rally Getty Violence on the streets of Charlottesville A car plows through protesters A vehicle drives into a group of protesters demonstrating against a white nationalist rally in Charlottesville, Virginia. The incident resulted in multiple injuries, some life-threatening, and one death. AP Photo Violence on the streets of Charlottesville Rescue personnel help injured people after a car ran into a large group of protesters after an white nationalist rally in Charlottesville, Virginia AP Photo Violence on the streets of Charlottesville President Donald Trump speaks about the ongoing situation in Charlottesville, Virginia from his golf club in Bedminster, New Jersey. He spoke about "loyalty" and "healing wounds" left by decades of racism.

LoRusso said the officer was trying to de-escalate a situation involving an uncooperative passenger.

“His comments must be observed in their totality to understand their context,” LoRusso said.