An 18-year-old man opened fire at a high school in southern Finland on Wednesday, killing at least seven people and wounding several others, a municipal official said. Police said they had the situation "under control" after they surrounded the school in Tuusula, some 50 kilometers north of the capital, Helsinki. They did not confirm the number of victims nor whether the gunman was holding hostages inside. "There is no danger to outsiders now," police spokesman Tero Haapala said. "We have the situation under control." It was not clear whether the gunman had been apprehended or was still inside Jokela High School. Heidi Hagman, assistant to the Tuusula municipality director, said the gunman had shot four people and that "one of those shot is probably the principal." She said one of the victims had died. Finnish media said the shooter revealed his plans in a YouTube posting before the attack. A YouTube video titled "Jokela High School Massacre" showed a picture of a building by a lake and two photos of a young man holding a hand gun. The person who posted the video was identified in the user profile as an 18-year-old man from Finland. The posting was later removed. The profile contained a text calling for a "revolution against the system." Police could not immediately be reached to comment on the video. Kim Kiuru, a teacher at the school, said the principal announced over the public address system just before noon (1000GMT) that all students should remain in their classrooms. "I stayed in the corridor to listen to more instructions having locked my classroom door," Kiuru told the YLE radio station. "After that I saw the gunman running with what appeared to be a small caliber handgun in his hand through the doors toward me after which I escaped to the corridor downstairs and ran in the opposite direction." Kiuru said he saw a woman's body as he fled the building. "Then my pupils shouted at me out of the windows to ask what they should do and I told them to jump out of the windows ... and all my pupils were saved," Kiuru said. The Ilta-Sanomat newspaper initially reported three people were killed, but later said only one victim had died. It was the first reported incident of a shooting at a Finnish school, where previously violent incidents usually involved knives but had never resulted in death. More than 400 students aged 12 through 18 were enrolled at Jokela, Hagman said. Prime Minister Matti Vanhanen described the situation as "extremely tragic" and said the government would hold an emergency meeting.