Answer
**Frederick III, the Holy Roman Emperor, spearheaded the transformation from an elective monarchy to an absolute monarchy in the 15th century.** Prior to this pivotal shift, the Holy Roman Emperors were selected through electoral processes involving multiple electors. However, Frederick III sought to consolidate power and establish a hereditary succession within the Habsburg dynasty, effectively ending the era of electing emperors from various noble families.