Doves flew and confetti rained down on the flame as runners carried it over the Wall’s mist-shrouded ramparts at daybreak in a tradition dating back to the 1936 Berlin Olympics.
On Friday, the torch will enter the Bird’s Nest stadium for the opening ceremony of the 16-day Olympics.
En route to China, US President George W Bush used some of his bluntest language yet in criticising a country many view as likely to rival his own for global hegemony this century. And some 40 competing athletes petitioned China to find a peaceful solution for Tibet, the most contentious issue.
Away from the politics, some sport was already underway.
After China’s women’s soccer team delighted the host nation with a win on Wednesday, the men’s competition began on Thursday.
A Ronaldinho-led Brazil, which has never won Olympic gold in soccer despite its five World Cup triumphs, beat Belgium 1-0.
South America’s other soccer power-house Argentina kicked off later against Ivory Coast, with forward Lionel Messi in the lineup despite Barcelona’s reluctance to release him.
Across China, excitement has built as the tortuous and troubled torch relay draws to a close and the country’s 1.3 billion people prepare for the Olympics’ most expensive opening ceremony. The Games have cost Beijing a total of $40 billion.
Officially-organised but wildly excited crowds cheered the torch through Beijing this week in images China hopes will erase memories of the Tibet protests on its international tour.
There have been problems with the torch — but now is the time for the party! said Weng Chengyu, a 28-year-old student among the dancing, singing crowds on the Great Wall.
Smog and sweltering heat remain a concern for athletes, though neither are unique to Beijing. Skies were hazy again on Thursday, but authorities, who spent $18 billion on cleanup moves, said air quality was fairly good.
August is thunderstorm season in Beijing, and organisers have talked of using experimental technology to seed rain clouds to ensure it stays dry for Friday’s opening.
China’s 7ft 6in basketball player Yao Ming will carry the host nation’s flag at that ceremony. The two Koreas have failed to agree a joint march, as they did in 2000 and 2004.
Undeterred by a 100,000-strong security force in Beijing, small groups of protesters have popped up this week to demonstrate over Tibet, abortion and animal rights.