The unidentified shooter who opened fire on the beach was killed by security forces. Reports emerged early Saturday that the self-proclaimed Islamic State terror group claimed responsibility for the attack.

Thirty-nine people, including foreigners, have been killed and dozens more injured in an attack on two separate hotels in Tunisia's resort city of Sousse on Friday, the country's Interior Ministry said. According to local police, victims of the attack include five tourists from Germany, four from the UK, and three from France.

Airplane destined for #Sousse region in #Tunisia returns to Brussels -- what will others do? pic.twitter.com/dHKLuKh4dN — Anno Bunnik بونيك (@Eurabist) 26 июня 2015

"The terrorist opened fire on tourists at the Imperial hotel in the Tunisian city of Sousse," Aisha as-Saafi, a journalist with Tunisian newspaper Ad-Damir, told Sputnik. "The second attack was perpetrated by another terrorist not far from there. I think the two attackers preplanned which area each of them would target"

#терактвтунисе Фото опубликовано Petr (@chervonec) Июн 26 2015 в 4:18 PDT

According to the ministry spokesman, one of the unidentified shooters was killed by security forces, and the other was captured.