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
Officials say wanted Moroccan man Younes Abouyaaquoub was the driver of the van which ploughed into pedestrians in Barcelona last week.
Big Ben will fall silent on Monday for renovations following a backlash from MPs over the proposed four-year timetable for the work.
Rain will push into the northwest, turning heavy and persistent in places