A convert to Roman Catholicism , he was a favorite of the restored Stuart court , a client of both Charles II and James II , and was a witness to many of the political maneuverings of the era .
Hired by both Charles II and James II , he saw many of the political experiences of the era .