 While in Rome, Wright published an illustrated Italian account of the embassy, dedicated to the Duchess of Modena and, on his return, an English version was published in October 1687, dedicated to her daughter Queen Mary.Wright's career came to an end in 1688 with the expulsion of King James II during the Glorious Revolution.He seems to have accepted the inevitable end of his royal favour with the accession to the throne of the Protestant William of Orange.