The engagement between Duchess Sophie and King Ludwig II was arranged at the behest of her father
Duke Max Josef, even though the King, considering his own distinctly homosexual character, was concerned that she would not be happy in the union. The engagement was agreed upon on 22 January 1867. Three days later Sophie met Edgar in his father's photographic studio, where he had recently arrived as senior clerk after his travels abroad. Possibly they had known each other since childhood, when Franz Hanfstaengl was a readily welcomed guest in the artistic circle of Duke Max. The many photographs of the royal bride which then had to be prepared, and additional work which brought Edgar regularly to
Possenhofen Castle, brought them more closely together and they fell in love. Their meetings, attended by the utmost secrecy, occurred in the
Pähl Castle, the Palace in Munich, and even at Possenhofen. Five love-letters, which Sophie Charlotte wrote to Edgar Hanfstaengl between July and September 1867, have been preserved. After repeating postponements, the wedding was called off by Ludwig II in October. == Later life ==