Thousands of people lined the sea walls to welcome home Britain’s second and newest aircraft carrier, HMS Prince of Wales, as it sailed into its base at Portsmouth for the first time.

A fly-past of two Hawk jets and a Wildcat helicopter welcomed the 65,000-tonne warship as it arrived at the mouth of Portsmouth Harbour, Hampshire, where it dwarfed the surrounding buildings.

Shipping lanes were closed and an air exclusion zone put in place as part of security measures for the arrival.

Sailors lined the flight deck as the £3.1 billion carrier approached the dedicated Princess Royal jetty at the naval base.

Commanding officer Captain Darren Houston said: “Our first entry to Portsmouth represents the successful culmination of the build and sea trials period in which my ship’s company and industry partners have worked so closely together to bring HMS Prince of Wales into service with the fleet.

“I am extremely proud of them and their families for their perseverance, patience and extraordinary efforts.”

Air engineering technician Ben Daniels, one of the 600-strong crew on board along with 300 contractors, said: “I feel immensely proud to be a member of HMS Prince of Wales’s ship’s company while the ship is heading into its home port for the first time.

The HMS Prince of Wales
The vessel passed Portsmouth’s famous Spinnaker Tower on its way into port (Steve Parsons/PA)

“It is a historic moment for the Royal Navy and I am looking forward to many years of service on this incredible ship.”

The carrier left Rosyth dockyard in Fife, eastern Scotland, where it was built in September before undergoing eight weeks of sea trials ahead of its arrival in Portsmouth.

A Navy spokesman said: “During the trials, the first aircraft touched down on the flight deck, as a Merlin helicopter was guided safely into land, before the ship then hit top speed as she tested her engines to the max.

The HMS Prince of Wales
The ship’s crew waved to crowds gathered to watch its arrival (Steve Parsons/PA)

“Following a brief pit stop in Invergordon (northern Scotland), HMS Prince of Wales was tested in heavier seas to see how she handles in challenging weather.

“The carrier faced waves up to 20ft high and carved through them relatively untroubled.”

The carrier’s sister ship, HMS Queen Elizabeth, is also based at Portsmouth but is currently on a visit to the USA to undergo trials of the F35 Lightning jet fighters ahead of its first operational deployment planned for 2021.

Major upgrade work has been carried out at the jetties at Portsmouth so the two giant ships can berth next to each other.

The HMS Prince of Wales
Families and friends of the crew welcomed them to the vessel’s home port (Steve Parsons/PA)

During their 50-year service, the two 280-metre long aircraft carriers can be pressed into action for various work such as high intensity war fighting or providing humanitarian aid and disaster relief.

They have been built by the Aircraft Carrier Alliance (ACA) – a partnership of BAE Systems, Babcock, Thales and the Ministry of Defence.

Overall, six shipyards around the UK – Appledore, Birkenhead, Govan, Portsmouth, Rosyth and Tyne – have been involved in building various parts of the carriers.

HMS Prince of Wales is set to be formally commissioned before the end of the year.