Democratic Party Chairman Gary O’Connor of Lamar County in Texas resigned Tuesday after facing backlash for calling Republican South Carolina Sen. Tim Scott an “oreo.”

O’Connor called the senator the racially derogatory term following Scott’s rebuttal to President Joe Biden’s joint address to congress Wednesday for the Republican party.

“I had hoped that Scott might show some common sense, but it seems clear he is little more than an oreo with no real principles,” O’Connor wrote.

O’Connor faced backlash from fellow Texas politicians, including Republican Gov. Greg Abbott, who called the comments “disgusting, hateful, and completely unacceptable” and demanded his resignation.

Texas Republican Party Chairman Allen West said he a “gift” for O’Connor while holding a box of the famous cookies.

“I am deeply and sincerely sorry for my inappropriate and hurtful use of racist term I used to describe Sen. Tim Scott on my personal Facebook page,” O’Connor told Emma Colton at the Washington Examiner. “It was insensitive, and I have embarrassed myself and my party by its use.”

Scott was met with racist attacks after his speech, leading “Uncle Tim” to trend on Twitter that same night.