qnli question: Who did the Hungarian nobility elect as King of Hungary? sentence: In an extremely unusual event for the Middle Ages, Hunyadi's son, Matthias, was elected as King of Hungary by the nobility.