The San Diego City Council rescinded a resolution it passed 80 years ago in support of the incarceration of Japanese Americans in prison camps during World War II.

During a meeting Tuesday, council members called the camps and the 1942 resolution supporting them racist and unjust.

"We can acknowledge the wrong that the city committed," council President Sean Elo-Rivera said.

US SAILOR KILLED IN PEARL HARBOR TO BE LAID TO REST AFTER DECADES-LONG EFFORT TO IDENTIFY REMAINS

The council also approved a formal apology to Japanese Americans, the San Diego Union-Tribune reported.

Leaders of the local Japanese American community praised the council’s decision, noting how residents sent to the camps lost their property, their opportunities for education and their dignity.

San Diego, CA apologizes for WWII camps

Japanese evacuees move into a war relocation authority center in Manzanar, California, on June 19, 1942. (AP Photo/File)

During World War II, more than 120,000 people of Japanese ancestry — regarded as a threat to national security because of their ethnicity — were forcibly relocated to 10 camps in the western U.S. and Arkansas.

Among those incarcerated were more than 1,900 San Diego County residents of Japanese descent, according to the Union-Tribune.

DEMOCRATIC ADVISER ON MSNBC MAKES ‘NAZI GERMANY’ COMPARISON FOR REPUBLICANS 

The council’s actions were requested by the San Diego chapter of the Japanese American Historical Society.

Kay Ochi, the society’s president, said the camps and the council’s resolution supporting them reflected the prejudice and fear of the time. Her parents, U.S. citizens, were incarcerated from 1942 to 1945 in Arizona.

PEARL HARBOR SAILOR TO BE BURIED IN ARLINGTON NATIONAL CEMETERYMORE THAN 80 YEARS AFTER DEATH

"The trauma of that racist act, the shame that it brought upon the Japanese American community to be targeted as spies, was deep and painful," she said. "You are reaffirming your commitment — the city’s commitment — to the promises of the Constitution."