Longtime Charleston Mayor Joseph P. Riley on Sunday called for the Confederate flag, which hangs outside the South Carolina state capitol, to be removed and sent "into a museum,” calling it an "affirmation" of hatred.

“It sends, at best, mixed messages and, at worst, for hateful people like [accused shooter Dylann] Roof, it’s an affirmation because they have appropriated something and used it as a symbol of hatred. So I think that it needs to go into a museum and I think it will,” Riley told CNN’s Jake Tapper.

As Riley spoke during a live interview from Charleston, the historically black Emanuel African Methodist Episcopal Church was finishing preparations for its first Sunday service since the tragic church shooting Wednesday that left nine dead. The mayor added that his community will have, "sadly, nine funerals in the next couple of weeks" and that he hopes political activism resulting from the attack will wait so that the community can mourn.

"Nothing has happened in this community in my life like this…People are telling me they just can’t stop crying in the community. White people. Black people. The heartache is indescribable,” he said. “…We have to use this moment. Whatever it tells us. We’ve got to use this heartbreak in the most positive way.”

The mayor, who has made improving race relations the focus of his four-decade-long career in public service, has been a longtime advocate for removing the Confederate flag. But that question has been heavily fraught in South Carolina, where the flag's defenders say it represents Southern heritage and is not a racist symbol. Fifteen years ago, Riley joined 46,000 protesters in a march to demand that the flag be taken down from the capitol dome; as a compromise, the state legislature moved the flag from the capitol dome to another location on Statehouse grounds.

Riley also said that gun-control laws need to be revisited.

“The country is having a very difficult time dealing with the proliferation of guns. We have to use this most recent tragedy to keep us working on that. It is insane the number of guns and the ease of getting guns in America. It doesn’t fit with the other achievements in this country,” he said.

The mayor called those questions “pieces of unfinished business."

“What we have now is nine beautiful people…who were killed,” he said. “If we in America can’t use this as a reason to address these issues, then we’re not doing a very good job.”

Read more: 

The fight over a Confederate emblem

COLUMBIA, SC - JUNE 27: Demonstrators protest at the South Carolina State House calling for the Confederate flag to remain on the State House grounds June 27, 2015 in Columbia, South Carolina. Earlier in the week South Carolina Gov. Nikki Haley expressed support for removing the Confederate flag from the State House grounds in the wake of the nine murders at Mother Emanuel A.M.E. Church in Charleston, South Carolina. (Win McNamee/Getty Images)