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