A Brownsville Commissioner who used a racial slur to describe two black assistant district attorneys has resigned.

Brownsville City Commissioner Cesar De Leon submitted his letter of resignation Thursday night, citing a conflict of interest between his duties as a lawyer and as a city commissioner.

Last month, social media users posted audio clips of De Leon using slurs and derogatory language in referring to two prosecutors in the Cameron County District Attorney’s Office.

De Leon later apologized for the language, although he called the conversation private. He also said he believed the discussion was recorded, edited and released by the person to whom he was speaking.