1699 – 1766, Diplomat; bayerischer Gesandter in Madrid; Obersthofmarschall; Pfleger zu Wolfratshausen