The early modern history of the Old Swiss Confederacy (Eidgenossenschaft, also known as the "Swiss Republic" or Republica Helvetiorum) and its constituent Thirteen Cantons encompasses the time of the Thirty Years' War (1618–1648) until the French invasion of 1798. The early modern period was characterized by an increasingly aristocratic and oligarchic ruling class as well as frequent economic or religious revolts. This period came to be referred to as the Ancien Régime retrospectively, in post-Napoleonic Switzerland.