 The embassy left Lisbon on 8 December 1686 and the marriage contract was signed on 22 May 1687.A dowry of 100,000 florins was agreed on.Following her proxy marriage on 2 July 1687 in Heidelberg, Maria Sophia left her native Germany the following August.