Hundreds of thousands of Shiite Muslims pack Iraq's Karbala for Ashura Iraqi Shiite Muslims gather outside the shrine of Imam Hussein in the Iraqi city of Karbala. Hundreds of thousands of Shiite pilgrims packed the Iraqi shrine city of Karbala on Tuesday, braving the threat of jihadist attack to mark one of the holiest days of their faith. Ashura commemorates the killing of Imam Hussein, the grandson of the Prophet Mohammed, by the army of the Caliph Yazid in 680 AD, the formative event in Shiite Islam. Iraqi Shiite Muslims take part in preparations for Ashoura. The festival has been marred by attacks by Sunni extremists in previous years but this year's commemorations come with jihadists of the Islamic State group controlling swathes of Iraq. Tens of thousands of security personnel and allied militiamen have been deployed to protect the pilgrims in a major test for the new government of Prime Minister Haidar al-Abadi. "Hundreds of thousands of pilgrims from all the Iraqi provinces and from Arab and foreign states arrived in Karbala to take part in the commemoration of the martyrdom of Imam Hussein," Karbala Governor Aqil al-Turaihi said. An Iraqi Shiite girl watches a re-enactment of the Battle of Karbala as part of the Ashura commemorations in the capital Baghdad. Hundreds of men dressed in white robes performed a ritual called "tatbeer," cutting their heads with swords and spears in mourning for the slain imam. Only a small minority of pilgrims perform the ritual, which leaves faces and white robes stained with blood and has been condemned by some Shiite clerics. Thousands of black-clad pilgrims then gathered to listen to the story of Imam Hussein and the battle in which he died, beating their heads and crying in mourning and guilt. According to Shiite belief, Hussein willingly sacrificed himself in opposition to Yazid's un-Islamic and unjust rule, defying the caliph's army with only a few dozen followers. The division between what would become the Shiite and Sunni faiths began in a dispute over who should succeed Mohammed and was solidified with Hussein's death. Tens of thousands of people have died in fighting, bombings and executions in Iraq carried out along sectarian lines over the past decade. Sunni extremists, who consider Shiites to be heretics, have killed dozens of pilgrims marking Ashura in past years. But the danger was heightened this year when IS militants swept through much of the country's Sunni Arab heartland north and west of Baghdad and seized territory south of the capital close to the main pilgrimage route. The group already claimed bombings targeting Shiites in Baghdad on Sunday that killed at least 18 people. Iraq has deployed tens of thousands of security personnel and allied militiamen in Baghdad, along the road to Karbala, and in the shrine city itself to guard against attacks.