In the television adaptation, Daenerys's scenes in the pilot episode were filmed in Morocco. The production redressed and repainted the Jerusalem sets of "Kingdom of Heaven" near Ouarzazate, Morocco, to serve as the courtyard of Illyrio's mansion where Dany first meets Khal Drogo. When the pilot was delivered, HBO scrapped all of the footage shot in Morocco, and the Pentos scenes were re-shot in Malta. The exterior scenes at Illyrio's mansion in Pentos were shot at Verdala Palace, the 16th century summer palace of the president of Malta. The Azure Window, on the island of Gozo in Malta, was used for the location of Daenerys's wedding to Khal Drogo.