Young athletes light London 2012 Olympic flame
The Queen has declared the London Olympics officially open, before seven young athletes were given the honour of lighting the ceremonial flame.
The show featured British celebrities and sportspeople, including David Beckham and Bradley Wiggins, and screen characters Mr Bean and James Bond.
In a speech watched around the world, Games chief Jacques Rogge said: "The Olympic Games are coming home tonight."
Flag-bearer Sir Chris Hoy earlier led out Team GB to cheers and applause.
The identity of who was to light the symbolic flame was shrouded in secrecy ahead of the ceremony.
You have to envy the athletes.
Not for them the men with loud-speakers making the crowd "hold and stop" in waves on an hour-long trudge to the Tube platform.
The athletes' village is in sight of the stadium.
Their parade inside it marked the shift, from purely artistic production to ceremonial duties.
The emotion was still there - Lord Coe's voice tight as he said: "This is our time... When our time came we did it right... London 2012 will see the very best of us."
And the history - IOC President Jacques Rogge acknowledging the Games' return to London for a third time.
There were flag-bearers for good; the official opening from Her Majesty; sporting legend Ali; Sarah Stevenson's competitors' bond.
With Redgrave taking the torch there was the nod to Olympic greats, with young hopefuls, a look to legacy.
Out at the Tube queue, the day was ending almost 19 hours after it had begun with the sound of bells ringing - this time from a tannoy, not a Big Ben tower.
Time then, for the main event to begin.
The group of seven, chosen by British Olympic champions, each lit a single tiny flame on the ground, igniting 205 petals, one for each competing nation or territory.
Long stems then rose towards each other to form a cauldron, signifying unity.
The flame made a dramatic arrival via the Thames on a speedboat carrying Beckham, who handed the torch to Sir Steve Redgrave.
The show, billed as a quirky take on UK life, started with iconic images of London and Britain being beamed to the world, and all four countries of the UK being represented in song.
The field at the stadium in Stratford, east London, was turned into a green meadow, with sheep, horses, chickens, ducks and geese among the cast.
The show took the watching world through "great revolutions in British society", from an agricultural setting through to the Industrial Revolution itself.
Steelworkers began forging material that transformed into golden Olympic rings, which appeared to float into the air to be suspended above the performers.'Evening Mr Bond'
There were cheers too as the crowd saw a film featuring an unlikely meeting between the Queen and agent 007 James Bond.
"Good evening Mr Bond," the Queen said in the clip, before they left together, apparently heading towards the Olympic Stadium in a helicopter.
The aircraft then flew over the stadium to the sound of the Bond theme tune, as two figures parachuted down, one dressed as the monarch.
As if by magic, the Queen appeared in the stands - part of a crowd of about 80,000 - amid cheers.
Mr Bond was not the only much-loved British character to take part. Mr Bean prompted laughter when he appeared as part of the orchestra playing the Chariots of Fire theme.
The ceremony also celebrated the National Health Service by featuring a cast of more than 1,000 volunteers recruited from hospitals across the country, including Great Ormond Street children's hospital in London.
All the action was played out to a soundtrack of some of Britain's most iconic bands - including the Clash, the Rolling Stones, Queen, the Sex Pistols and David Bowie - with Sir Paul McCartney performing live at the show's close.
The athletes taking part in the Games - led by Greece, the Olympics' spiritual home - made laps of the stadium bearing their nations' flags.
A Red Arrows fly-past marked the start of the pre-show at the symbolic time of 20:12 BST (19:12 GMT).
Olympics coverage online
And Bradley Wiggins, wearing a yellow jersey, rang the world's largest harmonically-tuned bell to launch the opening ceremony.
As the 'Isles of Wonder' show began, artistic director Danny Boyle pledged a ceremony with a theme of "this is for everyone".
The Oscar-winning film director later tweeted: "Thank you, everyone, for your kind words! Means the world to me."
Earlier, crowds of people, many of them dressed in their nation's colours, streamed into the Olympic Park for the show.
The BBC's Claire Heald, at the stadium, said transport ran smoothly and the crowds moved quickly through security.
The day of celebration began at 08:12 BST (07:12 GMT) with a mass bell ringing. Big Ben rang for three minutes for the first time since King George VI's funeral in 1952.
In other developments:
- Conservative MP Aidan Burley defends a tweet in which he referred to "leftie multi-cultural" rubbish in the Olympic opening ceremony, saying it was "misunderstood"
- A number of cyclists were arrested during scuffles with police close to the Olympic Stadium as the opening ceremony got under way
- A celebratory concert featuring Paolo Nutini, Snow Patrol, Stereophonics and Duran Duran was held in Hyde Park
- Culture Secretary Jeremy Hunt narrowly avoided hitting a group of women with a bell after it flew off its handle on HMS Belfast during the co-ordinated ringing - he called the moment a "classic"
The three-and-a-half hour show was rehearsed more than 200 times, with each of the 7,500 volunteers spending on average 150 hours practising during the build-up.
The event used 12,956 props and boasted a million-watt PA system using more than 500 speakers.
Thousands of fans also gathered at other outdoor locations across the capital to watch the show on big screens.