Frederick's goal was to modernize and unite his vulnerably disconnected lands; toward this end, he fought wars mainly against Austria, whose Habsburg dynasty reigned as Holy Roman Emperors, almost continuously from the 15th century until 1806. Frederick established Prussia as the fifth and smallest European great power by using the resources his frugal father had cultivated.