The town was mortgaged to Bavaria in 1331, lasting until 1419 (with some interruptions). Under Hussite rule, German citizens were expelled from the town, and since then, the population has been predominantly Czech. In 1431, Prokop the Great defeated the crusaders of the Holy Roman Empire in the Battle of Domažlice. The 15th and 16th century saw Domažlice change hands frequently, but its importance diminished following the end of the Thirty Years' War. It was not until 1770 that it recovered, largely due to innovations in the textile industry.