A gunman carrying a shotgun in a guitar case opened fire at a Florida high school, wounding one student as other students and teachers piled desks and cabinets against classroom doors to make barricades.

 The 19-year-old suspect was later arrested and apologized as he was led away in handcuffs.

Friday's shooting at Forest High School in Ocala happened on a day planned for a national classroom walkout to protest gun violence. A 17-year-old boy was taken to a hospital for treatment of a non-life threatening wound to his ankle.

The suspect, Sky Bouche said "sorry," followed by "It doesn't matter anyway" to reporters as he was led from the school in handcuffs by several deputies. Authorities said Bouche was a former student at the school.

"I didn't shoot anyone," he said to reporters. He ignored most of the other questions until asked what he'd say to the shooting victim. That's when he said, "sorry."

The shooting comes just over two months after a gunman killed 17 people and wounded 17 others at Marjory Stoneman Douglas High School in Parkland, Florida. Nikolas Cruz, 19, faces the death penalty if convicted in that Valentine's Day shooting.

It also coincided with a nationwide student walkout to protest gun violence on the anniversary of the 1999 massacre at Colorado's Columbine High School. The Ocala school had planned its version of a walkout, students said.