was the Swedish prince fourth child and third son of King Karl XI and Queen Ulrika Eleonora (1684–1685)