The Empire was one of the rare countries in Europe that had an elective monarchy. This meant that the Emperor was chosen by a small group of Prince-electors. Common practice was to just elect the deceased Emperor or Empress 's heir to the throne.