A teenager who threw a 6-year-old boy off a balcony at the Tate Modern museum in London in August pleaded guilty on Friday to one count of attempted murder, according to the authorities.

The teenager, Jonty Bravery, from the Ealing area west of London, admitted at London’s Old Bailey criminal court to throwing the unidentified boy at the art museum with the intention of killing him so he could be on the news, according to a news release from the Crown Prosecution Service, which handles criminal prosecutions in both England and Wales.

Mr. Bravery, 18, will be sentenced on Feb. 17, the release said.

Image Jonty Bravery pleaded guilty to one count of attempted murder on Friday. Credit... Metropolitan Police, via Agence France-Presse — Getty Images

The boy, a French citizen, was visiting England with his family on Aug. 4 when Mr. Bravery tossed him from the art gallery’s 10th-floor viewing platform, the release said.