State television confirmed there had been an attack.