Shaftesbury, Anthony Ashley Cooper, 3d earl of, 1671-1713