Diamond Jubilee: Queen begins celebrations in Scotland
The Queen has started her Jubilee celebrations in Scotland with an ancient ceremony and tour of Edinburgh's National Portrait Gallery.
Along with the Duke of Edinburgh, she is hosting events in Edinburgh, Glasgow and Perth over the next five days.
The Queen's first engagement was the traditional handing over of keys at Holyrood.
She then went on to view a new painting of the Scottish formula one legend Sir Jackie Stewart at the portrait gallery.
The building, which reopened in December 2011 following a £17.6m restoration project, houses works by some of the most important artists in history as well as portraits of great Scots. It also contains the world's most comprehensive collection of Scottish art.
The Queen and the Duke of Edinburgh were greeted by a large crowd as they arrived at the gallery in the city's New Town.
Earlier, the monarch took part in an event to formally receive her into the City of Edinburgh.
At the annual Ceremony of the Keys, she was handed the keys of the city by the Lord Provost.
During her annual Royal Week duties in Scotland, the Queen - who is celebrating her 60-year reign - will attend a special service of thanksgiving at Glasgow Cathedral.
The royal couple will also travel to Perth to mark its elevation to city status and host a garden party at the Palace of Holyroodhouse in Edinburgh.
During a ceremony on Thursday the Queen will appoint her grandson Prince William to the Order of the Thistle.
Only 16 people hold a position within the Order and appointments can be made only by the Queen.
A pipe band parade will also be hosted on the Royal Mile in Edinburgh on Thursday to mark the royal visit.
Bands, dancers and drummers from community groups across the country will be led down the Mile in the wake of the Thistle Service in St Giles' Cathedral.