A former police sergeant in Georgia who was captured on video hitting a man during a traffic stop has been convicted of aggravated assault and battery.

The Gwinnett County district attorney’s office said Wednesday that Michael Bongiovanni pleaded no contest Tuesday.

Cellphone video showed Bongiovanni hitting Demetrius Hollins as he stood with his hands up during the April 2017 traffic stop. Video showed then-officer Robert McDonald stomping on Hollins’ head as he lay on the ground handcuffed.

FILE - This Wednesday, April 12, 2017 file photo released by the Gwinnett County (Ga.) Sheriff's Office shows Demetrius Bryan Hollins after being arrested. Video from his April 2017 traffic stop in Georgia shows Sgt. Michael Bongiovanni hitting Hollins as he stood with his hands up and Master Police Officer Robert McDonald stomping on Hollins’ head as he lay on the ground handcuffed. (Gwinnett County Sheriff's Office via AP, File)
FILE – This Wednesday, April 12, 2017 file photo released by the Gwinnett County (Ga.) Sheriff’s Office shows Demetrius Bryan Hollins after being arrested. Video from his April 2017 traffic stop in Georgia shows Sgt. Michael Bongiovanni hitting Hollins as he stood with his hands up and Master Police Officer Robert McDonald stomping on Hollins’ head as he lay on the ground handcuffed. (Gwinnett County Sheriff’s Office via AP, File)

The Gwinnett County Police Department fired the two officers a day after the arrest when the video surfaced.

Prosecutors say Bongiovanni will serve six months in work release, followed by five months home confinement. The balance of his 10-year sentence will be served on probation.

McDonald’s trial date has not yet been set.