The Royal Navy has trained alongside the Egyptian Navy off the coast of Alexandria on the North African coast.
UK flagship, amphibious assault ship HMS Albion and destroyer HMS Dragon took part in the training which also involved Egypt's Air Force.
The training included simulated beach assaults, with a fleet of landing craft from both nations assembling for a joint demonstration, the Royal Navy said.
The UK-Egypt task group also practised facing fast aircraft attacks from two Egyptian F-16 Fighting Falcon jets and rehearsed surface attacks to ensure the ships could operate together and protect each other.
HMS Albion and HMS Dragon were joined by Egypt's French-built, Mistral-class assault ship, ENS Anwar el Sadat, and frigates ENS Sharm el Sheik and Ali Gad.
"It has been a great pleasure to train alongside the Egyptian military," said UK task group commander, Commodore Rob Pedre.
"The UK and Egypt continue to be strong partners as we seek to ensure peace and security in troubled regions.
"By working together we maximise our capacity to effect change."
The UK's Littoral Response Group, which also includes amphibious support ship RFA Lyme Bay, crossed the Mediterranean for a week-long stay in Alexandria after two weeks in Cyprus.
There, the ships trained and supported allies and partners in the region, as well as tested new kit and tactics which will shape the Future Navy and Future Commando Force.
An Egyptian military marching band performed as the Royal Navy came into port.
HMS Albion welcomed on board Armed Forces Minister James Heappey MP, plus senior members of the Egyptian armed forces.
British and Egyptian military personnel also took part in a series of discussions and briefings to discuss naval operations and amphibious warfare.
After leaving Egypt, the UK task group will come under NATO command as it takes part in the Mediterranean security mission - Operation Sea Guardian.
Cover image: British and Egyptian landing craft move through waters off Alexandria (Picture: Royal Navy).