 The new queen arrived in Lisbon 12 August 1687 amid great celebration and the same day the couple was formally married by the Archbishop of Lisbon at Ribeira Palace.Supposedly Louis XIV was "greatly chagrined" by Peter's decision to marry a daughter of the Elector Palatine and not a French princess, as he had hoped.The young queen quickly gained the affection of her stepdaughter Isabel Luísa, who was herself only three years younger than Maria Sophia.