Answer
Charles IV, the son of John of Bohemia, succeeded Louis IV as Holy Roman Emperor in 1346. He was elected by the seven prince-electors, who were responsible for choosing the emperor. Charles IV ruled the Holy Roman Empire until his death in 1378 and is remembered as a strong and effective ruler who expanded the empire's territories and improved its administration.