Electorate of Bavaria
Joseph managed to befriend the Electorate of Bavaria and after the election, Emperor Charles VII appointed him as imperial Geheimrat.