A North Charleston, S.C., police officer who posted a photo of himself wearing Confederate Flag boxer shorts to Facebook has been fired, reports WCIV.

The photo spread across the Internet on Thursday after the post had been online for a few days.

Police Chief Eddie Driggers issued a termination letter to the officer, saying the photo undermines the officer's "ability to improve trust and instill confidence when working with our citizens."

"Your posting in this manner led to you being publicly identified as a North Charleston Police officer and associated both you and the Department with an image that symbolizes hate and oppression to a significant portion of the citizens we are sworn to serve," Driggers wrote.

The officer has 10 days to appeal the decision.