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
Hate crime offenders face being slapped with tougher sentences after a surge in reports of abuse and attacks following the EU referendum.
Despite the sunshine in short supply in the places the next few days - it stays warm and a little humid and close in places.
The surfer was at a popular tourist beach in Costa Rica when the crocodile attacked and bit him several times in the leg and head.