Princess Anne had fallen out with her sister and brother-in-law, William and Mary, and reluctantly agreed to the advice of her friend, the Countess of Marlborough, that Gloucester should visit his aunt and uncle regularly to ensure their continued goodwill towards him. In an attempt to heal the rift, Anne invited the King and Queen to see Gloucester drill the "Horse Guards". After watching the boys' display at Kensington Palace, the King praised them, and made a return visit to Campden House the following day. Gloucester grew closer to his aunt and uncle: the Queen bought him presents from his favourite toy shop regularly. Her death in 1694 led to a superficial reconciliation between Anne and William, which occasioned a move to St James's Palace, London. Gloucester having tired of him, Lewis only attended St James's every two months.