An Ohio county chair for Donald Trump’s campaign resigned Thursday after saying in an interview with the Guardian that there was “no racism” before President Barack Obama was elected.

Former Mahoning County chair Kathy Miller apologized for the remarks in a statement, which also makes clear that she was campaigning for Trump on a volunteer basis.

“My personal comments were inappropriate, and I apologize,” Miller said in a statement provided to the Columbus Dispatch. “I am not a spokesperson for the campaign and was not speaking on its behalf. I have resigned as the volunteer campaign chair in Mahoning County and as an elector to the Electoral College to avoid any unnecessary distractions.”

In the interview with the Guardian, Miller also said black Americans have only themselves to blame if they haven’t been successful since the 1960s.