A "show-off" learner driver who took the keys to his parents' car, then crashed it, has admitted causing the death of his friend.
Liam Allan, 18, had consumed almost double the drink-drive limit when he hit a lamppost in the north east of Glasgow.
Daniel Boyle, 18, died at the scene in the Riddrie area and three other passengers in the car were injured.
Allan admitted causing death by dangerous driving and will be sentenced next month.
The High Court in Glasgow heard that the teenager, who only had his provisional licence, had been at a party with Mr Boyle and Caitlyn Sweeney, at friend Emma Dott's home, on 21 August last year.
They had all been drinking before Allan left to go to his house in the same street at about midnight.
He then took the keys to his parents' Hyundai Tucson and returned to the party.
He offered his three friends a lift. Miss Sweeney's boyfriend Robert McCormack, 16, joined them.
Daniel Boyle sat in the front and the others were in the back.
The court heard how Allan sped through a junction at which his friends had wanted to be dropped off.
Michael Stuart, prosecuting, said: "This caused the wheels of the car to spin and the tyres to screech. He continued to drive at excessive speed.
"He began rocking the steering wheel from side to side causing the car to swerve from left to right."
Allan ignored desperate screams to stop before soon losing control.
The car hit a lamp post knocking out street lights. An electrical sub box was also demolished.
It then hit another pole and finally came to a halt after striking a wall.
Miss Dott, 16, managed to climb out of the vehicle while Allan, Mr McCormack and Miss Sweeney had to be freed.
Mr Boyle was found crushed into the passenger seat and without a pulse. The teenager died as a result of a head injury.
Allan approached police at the scene and told them he had been the driver and that he had taken the car without permission.
The court heard the three other passengers spent a number of weeks in hospital after the crash.
Allan also admitted charges of taking a car without consent and driving without insurance or a qualified driver.
The teenager's QC, Murray Macara, said Allan was "absolutely distraught" at what had happened.
He added: "He was maybe showing off but, as far as the accident is concerned, he maintains he has no recollection."
Judge Lady Dorrian continued Allan's bail and deferred sentencing until next month.