ST. PAUL, Minn. (AP) -

St. Paul police say a gun brought to an elementary school by a 7-year-old student discharged, but no one was hurt.

The school district says the gun was brought into a classroom at Crossroads Elementary, and the weapon discharged into the floor at 8:40 a.m. Thursday.

Police spokesman Sgt. Mike Ernster tells the St. Paul Pioneer Press authorities are investigating how the first-grader got the gun and what led to the gun firing.

The district says no threats were directed at staff and students. School staff immediately confiscated the weapon.

The district said such actions have "serious consequences," and it will follow its standard discipline procedures.

Many students at Crossroads were out of school Thursday. This week is an optional "intersession" for students who want or need extra work.