ST. PAUL - The St. Paul Police Department says a University of St. Thomas student was accidentally shot Friday night.

The student was grazed by the bullet and suffered what appeared to be a very minor injury, but the University of St. Thomas said on Saturday that it was more severe than originally identified. The student required surgery and is now recovering in stable condition.

An alert was posted on the school's website Friday evening about an accidental gun shot at a residence hall. The alert said the scene was contained in Flynn Hall. The university said when the weapon was discharged, it fired through a wall.

St. Paul Police say they are investigating the shooting.

The university confirmed Saturday that all parties involved were St. Thomas students. They said weapons are not allowed in the residence halls.