A fly past by an F-35B has marked the end of HMS Prince of Wales' week-long visit to Liverpool.
The Royal Navy said the aircraft carrier is to continue sea trials in the Irish Sea before returning to her home port of Portsmouth.
She arrived in Merseyside last week and opened her doors to the public for the first time - welcoming more than 20,000 people.
"The ship’s company and I have been genuinely overwhelmed by the incredibly warm Merseyside welcome that we experienced," Commanding Officer, Captain Darren Houston said.
Visitors were taken inside the ship's aircraft hangar and got the chance to chat to serving personnel, as well as taking a look at some of the weapons and kit used.
HMS Prince of Wales was visiting Liverpool, as it is one of its affiliated cities.
While there, the ship's rugby team helped raise more than £15,000 to help with the rehabilitation of seven-year-old Luke Mortimer, who lost both his hands and legs and after contracting meningococcal meningitis just before Christmas.
Funds were also raised for the ship's local charity, Tom Harrison House, which supports military veterans.
The £3.1 billion warship only commissioned into the Navy in December.
Alongside sister-ship HMS Queen Elizabeth, HMS Prince of Wales is the largest and most powerful ship ever built for the Royal Navy.
She weighs 65,000 tonnes and her flight deck is 70 metres wide and 280 metres long – enough space for three football pitches.
Cover image: The people of Liverpool watch the aircraft carrier leave the city (Picture: Royal Navy).