The Royal Yacht Britannia is back on show ready for the Queen's Diamond Jubilee celebrations.
It wasn't all plain sailing, fire crews had to be called when they moved the boat. It had started taking on water because of a leak in a door seal.
The boat has played host to glittering state visits, royal honeymoons and relaxing family holidays. Last year The Queen's granddaughter Zara Phillips had her pre-wedding party on board.
Whilst the royal boat doesn't sail anymore it's still kept fit for a Queen. Staff have been doing the finishing touches to make sure that even the dinner table is to a royal standard before it's back on show again.
Around 2,500 litres of paint where used on the boat's massive hull and funnel. The fresh lick of paint will mean it's ship-shape for at least another 20 years.
The Royal Yacht Britannia is back in port, in Edinburgh, and open to the public again. It was moved for the first time in 14 years to have some repair work done.
The Britannia was used by The Queen for 44 years and carried her, and the rest of the Royal family, on nearly 1,000 official voyages to 135 different countries.