How did austria and prussia emerge as great powers?

Austria and Prussia emerged as great powers during the era of absolutism. Austria centralized their holdings and secured domination over hungry. Prussia proven to be the dominant military power, conquered Sweden's possessions and rose as the most efficient bureaucracy.