The First Anglo-Maratha War, which began in 1775, lasted for seven years. Various treaties were signed during this period, including the Treaty of Surat (1775) and the Treaty of Purandar (1776), but none definitively ended the conflict. Following complex negotiations, the war was finally concluded by the Treaty of Salbai in May 1782, although it was ratified by the Peshwa only in February 1783. This treaty established a period of peace between the Marathas and the British for twenty years.