 After the Thirty Years' War ended in 1648, the Lutheran, Reformed and Catholic churches were recognised as independent churches.The ruler of each principality was given the right to choose one of these three denominations to become the state church of his principality (Cuius regio, eius religio).Some German states (especially in the north and east) became Lutheran (e.g.