Louis the Pious
In 817 Emperor Louis the Pious granted Bavaria with "Avaria" to his minor son Louis the German.