Authorities are still looking into the cause of the rampage, which happened at Charles University’s Faculty of Arts building in the heart of the nation’s capital.
The neighborhood, which is just across the Vltava River from Prague Castle, is well-liked by tourists and near to important sites.
The shooter traveled to Prague from his hometown village of Hostouň, the police chief said.
According to authorities, some kids barricaded themselves in classrooms as the fighting started in order to escape the gunshots.
Some students trying to escape gunshots
Several people were seen cowering on an outside ledge high up in a structure in a photo that was posted on social media.
According to a schedule on the university’s website, courses were in session on Thursday.
University of Prague scheduled to have a Christmas vacation on December 23.
According to CNN, graduate student Jakob Weizman and his professor were in the middle of a lesson when they heard what sounded like gunshots and screaming.
After locking the door, the 25-year-old and his professor started shoving furniture in front of it to form a barrier.
“After I made the barricade and locked the door, I hid under the desk and I was preparing myself for anything that could happen,”
Weizman said. “I did not know if (the shooter) was going to come through the door or from the window.”