What happened after the Thirty Years' War?

As a result of the Thirty Years' War, Germany was divided into many territories. This lessened the power and influence of the Holy Roman Empire.