qnli question: In what year did a Golden Bull make the king of Bohemia first among the imperial electors? sentence: The Holy Roman Empire passed to the Habsburgs in 1438, where it remained until its dissolution in 1806.