The sixth Harry Potter book has been published around the world, ending the wait for eager readers.
Fans queued at bookshops for Harry Potter and the Half-Blood Prince's release at 0001 BST on 16 July.
Author JK Rowling was at Edinburgh Castle where she read to 70 young fans who won the chance to be at the launch and interview her.
Ten million copies were expected to be sold worldwide within 24 hours, including two million in the UK.
Castle transformed
"I'm excited about this book," Rowling said as she arrived at the castle.
"You get a lot of answers in this book. I can't wait for everyone to read it."
The young competition winners were led into the castle, which has been transformed into the entrance hall of Hogwarts School of Witchcraft and Wizardry for the event.
As the book was launched, Rowling appeared from behind a secret panel in the wall - shrouded by smoke - to read to them.
A Potter fan in Mexico City receives a copy of the new book
She told reporters that it meant "everything" to be in her home city for the launch.
"I left my daughter behind with a copy of the book. It is the first time she has had her hands on it," Rowling said.
"When I left she was laughing at something, which was quite encouraging, you can imagine."
The book has gone on sale in 15 countries - including the UK, US, Brazil and the Philippines - with many bookshops holding late night openings and Potter parties.
Book retailer Waterstone's opened 140 of its stores at midnight and online retailer Amazon received 350,000 advance orders in the UK alone.
Royal Mail said 150 extra trucks shifted more than 500,000 copies of the book from warehouses across the UK for delivery on Saturday.
Hundreds of Potter fans began queuing outside the Waterstone's store in London's Oxford Street, many dressed as witches and wizards.
"The atmosphere is amazing," said Rose-Marie De Koning, 19, who travelled from Roosendaal in the Netherlands for the event.
Savannah Mazda, 15, was first in the queue at Waterstone's in London's Oxford Street
"There are a lot of fans here and lots of new friends being made. London is Harry Potter town."
At Mount Prospect, Illinois, more than 10,000 fans will participate in a range of Potter-related activities, while in New York, the world's biggest toy shop - Toys R Us in Times Square - has been transformed into the Hogwarts Academy.
Other countries, including India, Australia and New Zealand are also holding events to mark the occasion.
The first five Harry Potter books have sold more than 265 million copies in 200 countries and have been translated into 62 languages.
But the run-up to the new book's release - the penultimate in the series - was not problem-free.
Israeli bookstore have been heavily promoting the book
A store in Edinburgh apologised after putting the latest Harry Potter book on shelves early, allowing customers to read copies.
Newsround Online reporters were able to read key parts of the book when it went briefly on display in HMV.
The store said it was an honest mistake and took the book off display as soon as it realised its error. No-one was allowed to buy the copies.
One boy in the US, Sylum Mastropaolo, was sold a copy of the book by mistake on Monday, but he and his parents returned it to the shop.
A court order was issued in Canada banning the disclosure of the story's contents after a number of the books were sold by mistake.
Bookmarks