The man was seen posing, lying down, waving and strutting the length of the bus for more than 20 minutes as Los Angeles County sheriff's deputies surrounded the transit bus and considered how to safely get him down.
A ladder was placed at the end of the bus, but he declined initially to climb down. He waved to AIR7 HD overhead and posed for spectators on the street taking pictures with their cellphones.
Deputies themselves then climbed up after a few minutes and took the man into custody. They buckled him into a stretcher and carried him off the bus and transferred him to paramedics.
The incident happened at Sunset Boulevard and Kings Road shortly before 2 p.m.
It was not immediately known how or why the man got on top of the bus.
Download the free ABC7 Los Angeles app for breaking news, weather and local stories on-the-go null