He was elected king in 1024 and crowned emperor of the Holy Roman Empire on March 26 , 1027 , the first emperor of the Salian Dynasty .
As he matured he came to be well known beyond his power base in Worms and Speyer , so when the Saxon line died off and the elected monarchy for the German realm stood vacant , he was elected King of Germany in 1024 at the respectably old age of thirty-four years and crowned emperor of the Holy Roman Empire on March 26 , 1027 , becoming the first of four kings and emperors of the Salian Dynasty .