The riots in Dublin on Thursday flared after a knife attack on three children and their care assistant outside a school in the north inner city.
Here is how events unfolded on the day.
The knife attack
Young children at Gaelscoil Choláiste Mhuire, a primary school on Parnell Square East, are brought out to the pavement to be collected by parents at about 1.30pm.
A man approaches and begins attacking the children with a large knife. Their care assistant intervenes and is stabbed.
Passing by on a moped is Caio Benício, a delivery driver originally from Brazil. He stops and uses his helmet as a weapon to stop the attack.
Alan Loren-Guille (17), a French student on his way to work in a restaurant, also intervenes and knocks the attacker's knife out of his hand.
Wicklow man Warren Donohoe sees the attack and rushes over as his daughter goes to the Rotunda Hospital to get help, according to Dublin Live.
The knife is tossed across the road to an area under trees by the Rotunda.
Witness Siobhan Kearney told RTÉ that the scene was “absolute bedlam”. She said emergency services arrived within three minutes.
A five-year-old girl was seriously injured in the attack and remained in a critical condition in hospital on Saturday. The female carer, aged in her 30s, was in a serious condition.
Two other children, a five-year-old boy and a six-year-old girl, suffered less serious injuries. Both have since been discharged from hospital.
Gardaí said a man who sustained serious injuries at the scene is a person of interest in their investigation. He remained under armed guard in a Dublin hospital on Saturday.
The riots
Gardaí seal off the area around the attack as a crime scene. A cordon is set up at the end of Parnell Square East and Cavendish Row.
People start gathering at the cordon as news spreads of the stabbing. Rumours on social media say the perpetrator is a foreign national.
The growing crowd begins to confront gardaí as the evening sets in. The situation escalates and several vehicles are damaged. A garda car is set on fire on Parnell Street and the demonstration turns into a riot.
The clashes with gardaí move onto O'Connell Street, as rioters throw fireworks and bottles at officers. A group smashes the windows of the Holiday Inn Express hotel on Cathal Brugha Street.
A Luas tram is set alight outside the Gresham Hotel. Further down O'Connell Street, shops such as Foot Locker and Asics are broken into and looted.
Shops are damaged on Abbey Street, where people pull open the shutters of Arnotts department store and break in.
Looting is also witnessed at an entrance to Sports Direct on Marlborough Street.
A bus driver is forced to leave his vehicle on O’Connell Bridge before it is set on fire by rioters. Another car burns nearby.
Gardaí mobilise large numbers of public order units to try and disperse the crowd of at least several hundred rioters.
Officers create a cordon around O'Connell Street and the surrounding streets, and by 9pm the crowds begin to taper. By 11pm the city centre is mostly quiet.
More than 30 people were arrested over the riots. Some are facing various charges including offences relating to the misuse of drugs, theft and public order. One man was charged with being in possession of knives.
Several garda members were injured, one seriously.
Gardaí are trawling 6,000 hours of CCTV footage from the night.
Minister for Justice Helen McEntee said a high-visibility policing plan would be in place throughout the weekend, including the deployment of four public order units.
On Saturday cafes on O’Connell Street had erected signs indicating they planned to close at 7pm.
A pro-Palestine protest that had been due to take place in the area on Saturday was postponed following the rioting.
A small protest centred on immigration issues took place peacefully on Saturday afternoon.