ernest the pious was the first duke famous for his wisdom in government