From James II to the joint monarchs