Dildine took a photo in his Confederate flag boxers then uploaded it to the massive social media site. The photo went viral in a few days and it didn't take long for North Charleston Police Department Chief Eddie Driggers to terminate Dildine.

In his termination letter, Driggers writes the officer has lost the "ability to improve trust and instill confidence when working with our citizens."

Driggers says the officer's post represents an inexcusable conflict of interest; one that "symbolizes hate and oppression to a significant portion of the citizens we are sworn to serve," according to the letter obtained by the city's Post and Courier.

On June 17, a white teenager, Dylann Roof, allegedly terrorized Charleston's historically black Emanuel AME church by killing nine people because of their race. He had posted photos of himself posing with the Confederate flag on Facebook, too.

A nationwide conversation is again taking place about removing the flag as a result of the terror attack.

On Friday, President Obama sang "Amazing Grace" when delivering the eulogy for the Rev. Clementa Pinckney, one of the nine shooting victims.