Editor’s Note: This article contains language that some may find offensive.

Washington CNN  — 

President Barack Obama used the n-word during an interview released Monday to make a point that there’s still plenty of room for America to combat racism.

“Racism, we are not cured of it. And it’s not just a matter of it not being polite to say nigger in public,” Obama said in an interview for the podcast “WTF with Marc Maron.”

“That’s not the measure of whether racism still exists or not. It’s not just a matter of overt discrimination. Societies don’t, overnight, completely erase everything that happened 200 to 300 years prior.”

The jarring comment comes as the nation is engaged in a debate over the role of race after a white supremacist killed nine African-Americans last week in a historically black church in Charleston. They also reflect a growing willingness for Obama to discuss race during the final years of his presidency.

READ: Inside the battle over the Confederate flag

President Obama speaks with comedian Marc Maron, host of the podcast "WTF with Marc Maron."

Obama said there has been progress on race relations over the decades, citing his own experience as a young man who was born to a white mother and an African father.

“I always tell young people, in particular, do not say that nothing has changed when it comes to race in America, unless you’ve lived through being a black man in the 1950s or ’60s or ‘70s. It is incontrovertible that race relations have improved significantly during my lifetime and yours,” Obama said.

But he added that “the legacy of slavery, Jim Crow, discrimination” exists in institutions and casts “a long shadow and that’s still part of our DNA that’s passed on.”

The White House released a statement saying that this is not the first time the President has used the N-word. “Truth is he uses the term about a dozen times in Dreams from my Father,” White House Deputy Press Secretary Eric Schultz said.

READ: Republicans take a pass on Confederate flag

Obama echoed comments in the immediate aftermath of last week’s shooting, saying he’s had to make speeches about a “devastating loss” too often.

“It’s not enough just to feel bad. There are actions that could be taken to make events like this less likely. One of those actions we could take would be to enhance some basic common sense gun safety laws,” Obama said.

Obama lamented Congress’s lack of action on gun control and said “Unfortunately, the grip of the NRA on Congress is extremely strong. I don’t foresee any legislative action being taken in this Congress.”

Obama also weighed in on a critical case that is currently before the Supreme Court, where opponents of the Affordable Care Act are asking whether the law authorizes tax subsidies for 6.4 million Americans who have already received help to afford health coverage.

READ: How the Supreme Court could send Obamacare into a “death spiral”

“First of all I’m confident we’ll win, because the law is clearly on our side,” Obama said.

He added that if the nation’s highest court were to rule in favor of the ACA’s opponents, “five to six million people could lose their healthcare.”

CNN’s Athena Jones and Kristen Holmes contributed to this report.