They bowed their heads in honor of the dead. They carried signs with messages like "Never again" and "Am I next?" They railed against the National Rifle Association and the politicians who support it.
And over and over, they repeated the message: Enough is enough.
In a wave of protests one historian called the largest of its kind in American history, tens of thousands of students walked out of their classrooms Wednesday to demand action on gun violence and school safety.
The demonstrations extended from Maine to Hawaii as students joined the youth-led surge of activism set off by the Feb. 14 massacre at Marjory Stoneman Douglas High School in Parkland, Florida.
"We're sick of it," said Maxwell Nardi, a senior at Douglas S. Freeman High School in Henrico, Virginia, just outside Richmond. "We're going to keep fighting, and we're not going to stop until Congress finally makes resolute changes."
Students around the nation left class at 10 a.m. local time for at least 17 minutes - one minute for each of the dead in the Florida shooting. Some led marches or rallied on football fields, while others gathered in school gyms or took a knee in the hallway.
At some schools, hundreds of students poured out. At others, just one or two walked out in defiance of administrators.
They lamented that too many young people have died and that they're tired of going to school afraid they will be killed.
"Enough is enough. People are done with being shot," said Iris Fosse-Ober, 18, a senior at Washburn High School in Minneapolis.
Some issued specific demands for lawmakers, including mandatory background checks for all gun sales and a ban on assault weapons like the one used in the Florida bloodbath.
While administrators and teachers at some schools applauded students for taking a stand - and some joined them - others threatened punishment for missing class.
As the demonstrations unfolded, the NRA responded by posting a photo on Twitter of a black rifle emblazoned with an American flag. The caption: "I'll control my own guns, thank you."
The protests took place at schools from the elementary level through college, including some that have witnessed their own mass shootings: About 300 students gathered on a soccer field at Colorado's Columbine High, while students who survived the Sandy Hook Elementary School attack in 2012 marched out of Newtown High School in Connecticut.
In the nation's capital, more than 2,000 high-school age protesters observed 17 minutes of silence while sitting on the ground with their backs turned to the White House. President Donald Trump was out of town.
The students carried signs with messages such as "Our Blood/Your Hands" and "Never Again" and chanted slogans against the NRA.
In New York City, they chanted, "Enough is enough!" In Salt Lake City, the signs read, "Protect kids not guns," ''Fear has no place in school" and "Am I next?"
At Eagle Rock High in Los Angeles, teenagers took a moment of silence as they gathered around a circle of 17 chairs labeled with the names of the Florida victims.
Stoneman Douglas High senior David Hogg, who has emerged as one of the leading student activists, livestreamed the walkout at the tragedy-stricken school on his YouTube channel. He said students couldn't be expected to stay in class while there was work to do to prevent gun violence.
"Every one of these individuals could have died that day. I could have died that day," he said.
In joining the protests, the students followed the example set by many of the survivors of the Florida shooting, who have become gun-control activists, leading rallies, lobbying legislators and giving TV interviews. Their efforts helped spur passage last week of a Florida law curbing access to assault rifles by young people.
Another protest against gun violence is scheduled in Washington on March 24, with organizers saying it is expected to draw hundreds of thousands.
But whether the students can make a difference on Capitol Hill remains to be seen.
Congress has shown little inclination to defy the powerful NRA and tighten gun laws, and Trump backed away from his initial support for raising the minimum age for buying an assault rifle to 21.
A spokeswoman for Education Secretary Betsy DeVos, newly appointed head of a federal panel on school safety, said DeVos "gives a lot credit to the students who are raising their voices and demanding change," and "their input will be valuable."
David Farber, a history professor at the University of Kansas who has studied social change movements, said it is too soon to know what effect the protests will have. But he said Wednesday's walkouts were without a doubt the largest protest led by high school students in the history of the U.S.
"Young people are that social media generation, and it's easy to mobilize them in a way that it probably hadn't been even 10 years ago," Farber said.
Wednesday's coordinated protests were organized by Empower, the youth wing of the Women's March, which brought thousands to Washington last year.
At Aztec High School in a rural, gun-friendly part of New Mexico where many enjoy hunting and shooting, students avoided gun politics and opted for a ceremony honoring students killed in shootings - including two who died in a December attack at Aztec.
"Our kids sit on both ends of the spectrum, and we have a diverse community when it comes to gun rights and gun control," Principal Warman Hall said.
In Brimfield, Ohio, 12-year-old Olivia Shane, an avid competitive trap shooter who has owned her own guns since she was about 7, skipped the gun protest and memorial held at her school.
"People want to take away our guns and it's a Second Amendment right of ours," she said. "If they want to take away our Second Amendment right, why can't we take away their amendment of freedom of speech?"
About 10 students left Ohio's West Liberty-Salem High School - which witnessed a shooting last year - despite a warning they could face detention or more serious discipline.
Police in the Atlanta suburb of Marietta patrolled Kell High, where students were threatened with unspecified consequences if they participated. Three students walked out anyway.
The walkouts drew support from companies such as media conglomerate Viacom, which paused programming on MTV, BET, Nickelodeon and its other networks for 17 minutes during the walkouts.
Associated Press writers Ken Thomas and Maria Danilova in Washington; Jeff Martin in Atlanta; Kantele Franko in Columbus, Ohio; Jonathan Drew in Chapel Hill, North Carolina; Mike Householder in Detroit; Denise Lavoie in Richmond, Virginia; Alanna Durkin Richer in Boston; Jeff Baenen in Minneapolis; Susan Montoya Bryan in Albuquerque, New Mexico; and Krysta Fauria in Los Angeles contributed to this report.
Follow Binkley on Twitter at @cbinkley
This story has been corrected to show that the Minneapolis student's last name is Fosse-Ober.
Find all of AP's coverage on the walkouts and the Parkland, Florida, shooting at https://apnews.com/tag/Floridaschoolshooting