tunisia suffered its worst terrorist attack in recent memory friday as a gunman fatally shot 39 people at a beach resort, an assault that rattled the fragile democracy and threatened to devastate its critical tourist industry.









the attack in the tunisian resort city of sousse, about 90 miles south of the capital, tunis, has raised fears that tunisia has become a primary target for islamist extremists seeking to destabilize the region.









the islamic state asserted responsibility for the attack. in a statement circulated by islamic state supporters online, the group said the attack had been carried out by a man named abu yahya al-qayrawani. tunisian officials earlier friday said the gunman, who was shot and killed by police, was from the tunisian city of kairouan, in a province known as a stronghold of ultraconservative islamists.









the attacker opened fire as tourists lounged in the sun, according to witnesses. the gunfire sent beachgoers into a panic, witnesses said. the gunman killed 39 people and wounded at least 35. the victims hailed from at least six countries, according to authorities.









friday<u+2019>s carnage was one of a spate of terrorist attacks in separate countries friday and comes just three months after a pair of young tunisian gunmen with apparent links to the islamic state killed 22 people at the prominent bardo museum in tunis. most of those victims were also foreigners.









the attacks in sousse and tunis both appeared to be aimed at crippling tunisia<u+2019>s tourism industry, which accounts for about 15<u+00a0>percent of the country<u+2019>s gross domestic product.









tunisia has grappled with the rise of islamist extremism in the wake of the arab spring, which ousted the country<u+2019>s autocratic but secular president in 2011. westerners have long flocked to tunisia<u+2019>s sunny mediterranean beaches, and the tiny north african nation has been lauded as the sole success story of the arab revolts. but tunisia has also contributed thousands of foreign fighters to islamic state ranks in syria and iraq, analysts say.









[tunisia rampage raises new fears about reach of islamic state groups]









many tunisians are also thought to have joined extremists in neighboring libya, where the collapse of the state has given rise to an array of armed groups. the perpetrators of the attack on the bardo museum in march were two tunisian youths who were apparently radicalized and later trained by islamist extremists in libya. tunisian lawmakers have not yet passed a draft terrorism law that the government says will enable security forces to pursue militants more easily.









tunisians, germans and belgians, and at least one irish citizen, were among the dead in friday<u+2019>s attack, the bbc reported. british foreign secretary philip hammond said that at least five britons were also among those killed and that that number is expected to rise.









a tourist from dublin, elizabeth o<u+2019>brien, told ireland<u+2019>s rte radio that it was about noon friday when she heard gunshots, which she initially mistook for fireworks. then, when she realized something was wrong, she raced to the shore to grab her two sons.









<u+201c>i just ran to the sea to my children and grabbed our things, and as i was running towards the hotel, the waiters and security on the beach started saying, <u+2018>run, run, run!<u+2019><u+00a0><u+201d>









glenn leathley, a briton whose daughter olivia was in sousse, told the bbc that his daughter called him, crying and in a panic, telling him that there was gunfire on the beach but that she was with her boyfriend in their room at the riu imperial marhaba hotel.









<u+201c>about five minutes later, she rang me again in a panic and said, <u+2018>they<u+2019>ve come into the lobby,<u+2019><u+00a0><u+201d> he said, adding that <u+201c>she seemed to know that they were there and at that point she started running.<u+201d> he told the bbc that his daughter had since made contact to tell him she was safe.









sarah wilson and her fiance, matthew james, from pontypridd, wales, were lounging on sun beds when the gunman opened fire, wilson told britain<u+2019>s mirror newspaper. james threw himself in front of the gunman and was shot in the shoulder, chest and hip.









<u+201c>he was covered in blood from the shots, but he just told me to run away. he told me: <u+2018>i love you, babe. but just go <u+2014> tell our children that their daddy loves them,<u+2019><u+00a0><u+201d> wilson said. she told the paper that her partner had survived.









the ennahda party, part of tunisia<u+2019>s ruling coalition government, released a statement condemning the attacks.









<u+201c>we offer our prayers to the victims and their families, and call upon authorities to swiftly find the perpetrators and bring them to justice.









<u+201c>tunisia has undergone a remarkable democratic transition and is the success story of the arab spring,<u+201d> the statement continued. <u+201c>but our country is still fragile. there is a tiny but poisonous fringe of society across our region which has wrongly interpreted the islamic faith and wishes to destroy tunisia<u+2019>s progress at any cost.<u+201d>









cunningham reported from baghdad. karla adam in london, brian murphy in washington, hugh naylor in beirut and mustafa salim in baghdad contributed to this report.









ramadan had brought fears of new islamic state attacks









today<u+2019>s coverage from post correspondents around the world
gunman storms tunisia resort in deadly attack aimed at foreigners
noauthor