Sitting in his patrol car in Wilmington, N.C., Officer Michael “Kevin” Piner predicted Black Lives Matter protests would soon lead to civil war. “I’m ready,” Piner told another officer, adding that he planned to buy an assault rifle.

“We are just going to go out and start slaughtering them f—— n——,” he said.

The shocking threat came amid extended, openly racist conversations between Piner, 44, and two other police officers, 50-year-old Cpl. Jesse E. Moore II, and 48-year-old Officer James “Brian” Gilmore. In the discussions, taped by accident on a patrol car camera and released Wednesday by the department, the men freely drop racial slurs, suggest killing black residents and deride protesters.

“Wipe ’em off the f—— map,” Piner said of African Americans. “That’ll put ’em back about four or five generations.”

All three officers were fired Wednesday, with new Wilmington Police Chief Donny Williams, who is black, calling the conversations “brutally offensive.”