A mother "lost her temper" with her three-year-old son before she battered him to death, a court heard.
When Mikaeel Kular was repeatedly sick following a trip to a Nando's restaurant, his mother Rosdeep Adekoya smacked him and struck him on the body and head with a clenched fist, advocate depute Alex Prentice told the High Court in Edinburgh.
After the youngster was sick for a third time, she dragged him to the shower by his arms and "beat him heavily" on his back as he lay over the bath edge, he added.
Mr Prentice said: "It's likely that the internal damage was inflicted during this last beating."
Over the next few days the court heard that Mikaeel's condition worsened and he was kept off nursery. He was assaulted again on the Monday after being sick and became "listless."
His mother did not take him to a doctor because of the bruising, the court heard.
Rosdeep Adekoya, 34, has pleaded guilty to culpable homicide.
More top news
A surge in violent crime and sexual offences has helped push the number of offences recorded by police past five million.
Spain will move to take full control of Catalonia after the semi-autonomous region refused to back down over its bid for independence.
A wanted man turned himself in after losing a bet he made with police on Facebook - along with promised doughnuts.