Prince Harry and Meghan Markle's official three-day visit to Morocco has drawn to a close, following an evening spent with the nation's King Mohammed VI.
Scroll through the gallery above to see photos of the couple's meeting with King Mohammed VI.
To mark the end of their trip, the royal couple sent out a message of thanks in Arabic on the official Kensington Palace Twitter, which translates to: "Thanks to all those who welcomed the Duke and Duchess of Sussex to Morocco".
Along with the Arabic message, English and French versions were also posted.
Along with the thanks, the tweet also contained a link to a site of photo and video highlights from the royal visit.
The couple's final engagement was a reception with King Mohammed VI at his royal residence. During the appointment, the Duchess of Sussex presented the king with letters from Britain's Queen Elizabeth II, and they also met the king's sisters, Princess Lalla Hasna and Princess Lalla Meryem, as well as the Crown Prince of Morocco, Moulay Hassan.
For the visit, Meghan wore a floral Carolina Herrera chiffon gown.
Earlier in the day, the royal couple visited the Royal Equestrian Club in Rabat, where they learnt about the ways that equine therapy helps children and young people of determination.
They also observed a cooking class at Villa Des Ambassadeurs, with children from disadvantaged backgrounds.
The cooking session was run by Moroccan chef Moha Fedal, for a group of schoolchildren aged nine to 18.
Along with the students, Fedal prepared Moroccan pancakes from Together: Our Community Cookbook, which was created to support people displaced by the 2017 Grenfell Tower fire in London, in collaboration with the duchess and London's Al Manaar, a Muslim Cultural Heritage Centre.
Their three-day visit was designed to shine a spotlight on youth empowerment and the education of girls and young women in Morocco. It is believed to be the couple's last overseas engagement before the birth of their first child.