An Egyptian military court made a mistake by sentencing a four-year-old boy to life in prison for murder last week, the military has acknowledged.
Spokesman Col Mohammed Samir said the court should have sentenced a 16-year-old with a similar name instead.
Ahmed Mansour Qurani Ali was convicted along with 115 others in connection with riots by Muslim Brotherhood supporters in Fayoum province in 2014.
His lawyer had submitted documents proving that he was one at the time.