Last Updated Jul 10, 2015 7:18 PM EDT
COLUMBIA, S.C. -- For the first time since the civil rights movement, the Confederate flag was removed entirely from the South Carolina Statehouse, in a swift ceremony Friday before thousands of people who cheered as the Civil War-era banner was lowered from a 30-foot flagpole.
Many people believed the flag would fly indefinitely in this state, which was the first to leave Union, but the killing of nine black church members during a Bible study in Charleston last month changed that sentiment, reigniting calls to bring down Confederate flags and symbols across the nation.
Dylann Roof, a white man who was photographed with the Confederate flag, is charged in the shooting deaths, and authorities have called the killings a hate crime.
The crowd chanted "USA, USA" and "hey, hey, hey, goodbye" as an honor guard of South Carolina troopers lowered the flag during a 6-minute ceremony. Gov. Nikki Haley stood on the Statehouse steps along with family members of the victims and other dignitaries. While she didn't speak, she nodded and smiled in the direction of the crowd after someone shouted: "Thank you governor."
Haley supported the flag before the shooting, but the Republican had a change of heart in the days after the killings, urging legislators to pass a bill before the end of the summer. She signed the legislation Thursday.
As she looked on, two troopers rolled the flag and tied it up with a string. They handed it to a black trooper who brought it to the Statehouse steps. When the trooper handed it to a state archivist, the governor clapped.
President Barack Obama tweeted minutes after the flag was down:
Obama delivered a eulogy at the funeral for state Sen. Clementa Pinckney, who was also pastor of the church where the killings took place.
The honor guard who took the flag down was the same group of men who carried Pinckney's coffin into the Statehouse for a viewing last month.
Some people were perplexed with how the flag was rolled up and tied with a string when it was taken down. Many are accustomed to seeing the flag folded in the traditional triangle.
Sgt. Bob Beres at the South Carolina Department of Public Safety told CBS News the flag was rolled up because that is protocol. Prior to World War I flags were rolled up and after WWI they were folded.
Denise Quarles' mother, Myra Thompson, received her license to preach just hours before the June 17 shooting at Emanuel African Methodist Episcopal Church in Charleston.
Quarles said the group known as the Emanuel 9 smiled from heaven as the Confederate flag was taken down for good.
"The tragedy was a tragedy. But now on the other side of that tragedy, we see a lot of positives coming out. Maybe people will change their hearts," Quarles said.
A van brought the flag to the nearby Confederate Relic Room and Military Museum. There, it eventually will be housed in a multimillion-dollar shrine lawmakers promised to build as part of a deal to get a bill passed removing the flag.
South Carolina's leaders first flew the battle flag over the Statehouse dome in 1961 to mark the 100th anniversary of the Civil War. It remained there to represent official opposition to the civil rights movement.
Decades later, mass protests against the flag by those who said it was a symbol of racism and white supremacy led to a compromise in 2000 with lawmakers who insisted that it symbolized Southern heritage and states' rights. The two sides came to an agreement to move the flag from the dome to a 30-foot pole next to a Confederate monument in front of the Statehouse.
Many thought it would stay there. Now, even that flagpole will be torn down. No timetable was set on that.
Patsy Eaddy, a black woman, said there was a "sense of embarrassment" of seeing the flag still flying after all these years. She attended the ceremony to see an important milestone in the civil rights movement.
"We lived through the turbulent '60s. I'm just so happy to be here to witness this," she said.
People who supported removing the flag chanted "take it down" before the ceremony and vastly outnumbered those who were upset about the move.
"It feels so good to be out here and be happy about it," said Ronald D. Barton, 52, a pastor who also was at the ceremony in 2000.
Haley did not answer questions, but earlier Friday on NBC's "Today" show, she said: "No one should ever drive by the Statehouse and feel pain. No one should ever drive by the Statehouse and feel like they don't belong."
Still, others were not celebrating. Clad in a black dress similar to those worn in the 19th century, Cindy Lampley clutched a poster showing photos of ancestors who fought for the Confederacy. Lampley said she is a historical reenactor who fears removing symbols like the flag dishonors her relatives who fought for the Southern cause.
"If they did, there wouldn't be so much hate and violence," he said.A woman who was arrested last month for removing the Confederate flag from the front of the South Carolina Statehouse told CBSN that she did it because the banner is a symbol of white supremacy, hatred and racial terror.
"I just felt that it was very important that it be a group of citizens ... who go up and bring that flag down - even if they put it back up a minute later - just to know that's how strongly we felt about it," Bree Newsome said last week.