Updated

It took much longer than expected, but the Space shuttle Endeavour has finally reached its permanent resting place at a Los Angeles museum.

After a 12-mile journey through city streets that included thousands of adoring onlookers, flashing cameras and even the filming of a TV commercial, Endeavour arrived at the California Science Center Sunday to a greeting party of city leaders and other dignitaries that had expected it many hours earlier.

The Endeavour was still slowly moving toward a hangar on the grounds of the museum mid-Sunday afternoon.

Organizers had planned a slow trip, saying the spacecraft that once orbited at more than 17,000 mph would move at just 2 mph in its final voyage.

But that estimate turned out to be generous, with Endeavour often creeping along at a barely detectable pace when it wasn't at a dead stop due to difficult-to-maneuver obstacles like trees and light posts.

Saturday started off promising, with Endeavour 90 minutes ahead of schedule. But accumulated hurdles and hiccups caused it to run hours behind at day's end.

Some 400 trees had been removed to avoid such situations, but officials said most of the trees that gave them trouble could not be cut down because they were old or treasured for other reasons, including some planted in honor of Martin Luther King Jr.

The crowd had its problems too. Despite temperatures in the mid-70s, several dozen people were treated for heat-related injuries after a long day in the sun, according to fire officials.

But it was a happy, peaceful crowd, with firefighters having only to respond to a sheared hydrant and a small rubbish fire, and no reports of any arrests.

And despite the late problems the mood for most of the day was festive.

At every turn of Endeavour's stop-and-go commute through urban streets, a constellation of spectators trailed along as the space shuttle ploddingly nosed past stores, schools, churches and front yards as it inched through working-class streets of southern Los Angeles.