Palatine of Hungary — highest-ranking official in the Kingdom of Hungary from the beginning of the 11th century to 1848