The Romans were driven away about 250 AD by the Alamanni, which in turn were defeated by the Franks in 496. In the early years of the Holy Roman Empire new castles were erected, among them Schloss Oettingen, which was the centre of the county of Oettingen. This county was first mentioned in 1141, ruled over the villages of the Ries and managed to gain further territories around. In the 15th century the county was divided into the two states of Oettingen-Oettingen and Oettingen-Wallerstein. Later the former decided to become Protestant, while the latter remained Catholic. This was the reason for a bloody enmity resulting in decades of war. Even prior to the Thirty Years' War there were battles, mass executions and witchhunts in both parts. In the Thirty Years' War the Ries was almost completely devastated and depopulated. Two major battles of that war took place in the region: the Battle of Nördlingen (1634) and the Battle of Nördlingen (1645).