ROSWELL, N.M. (AP) - A gunman opened fire Tuesday morning at a middle school in the southeastern New Mexico city of Roswell, critically injuring at least two students before being taken into custody.

A 14-year-old boy was flown to University Medical Center in Lubbock, Texas, in critical condition, hospital spokeswoman Eric Finley said. Information from nurses treating the boy indicates he was the target of the shooter, she said.

A 13-year-old girl in critical condition might be en route as well, Finley said.

The gunman opened fire at Berrendo Middle School as classes were starting for the day. A statement from the state police said authorities responded at 8:11 a.m.

Brooke Linthicum of Eastern New Mexico Regional Medical Center said two children were being treated following the shooting, but she had no information on the type or extent of their injuries. It's unclear if either of those victims was then transferred to Lubbock, or if the student being treated in Lubbock was a third victim.

Lorena Beltran told the Albuquerque Journal her daughter, who attends the school, said a male student was shot in the face. Beltran said she first heard about the shooting after her daughter texted her.

Roswell police say the school was placed on lockdown, and the suspected shooter was arrested. Age and other details on the gunman were not immediately released.

Police said children were being be bused to a nearby mall, where parents could pick up them up.

Sixth-grade student Anyssa Vegara said she was talking to a security guard when she heard a shot.

"I turned around, and all I saw was someone on the floor with their arm bleeding," Vegara told the Journal.

She said the security guard ran to assist the injured student, and school officials ordered all the students to their classrooms.

Eventually, she was able to text her mother, Monica Vegara.

"From the time hearing about it until the time she texted, it was a nightmare," Vegara said.

Fawna Hendricks, whose son is a seventh-grader at Berrendo Middle School, told the newspaper she heard about the shooting on the radio. "Basically I jumped outta bed, threw on clothes, panicked," Hendricks said.

Employees who arrived early to work at United Drilling Inc. heard no gunshots. They didn't know about the commotion just across the street at the school until around 8 a.m. when their parking lot filled with police and rescue vehicles.

At the Roswell mall, parents waited anxiously for their children. Some held hands while others hugged each other.

Roswell has a population of about 50,000. It is a center for ranching and farming and is home to the New Mexico Military Institute, the only state-supported military college in the West. The city is perhaps best-known as the site of an alleged UFO crash in 1947.