Spain, the last European power to control the region, signed the Treaty of San Lorenzo (Pinckney's Treaty) in 1795 in which it recognized the 31st parallel as the boundary between Spanish Florida and the United States.
The Habsburg Empire was on the verge of collapse, because these wars caused monumental state debt and financial crisis. The Habsburgs were forced to reconcile with Hungary, to save their empire and dynasty.