original_query: Who were the highest-ranking officials in Transylvania within the Kingdom of Hungary from the 12th to the 16th century?
query: Who were the highest-ranking officials in Transylvania within the Kingdom of Hungary from the 12th to the 16th century?
answer: The highest-ranking officials in Transylvania during that period were the Voivodes of Transylvania.