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
More than 1.85 million people have called for the US president's visit to be watered down to avoid causing "embarrassment" to the Queen.
Jim Mattis arrived in Baghdad on the day after US-backed Iraqi forces launched an operation to reclaim Mosul from IS.
The scale of the blood poisoning disease sepsis is "far worse" than previously thought thanks to a "crippling" lack of data, a study says.