This marked the end of the American Revolutionary War. France ceded all mainland North American territories, except New Orleans, in order to retain her Caribbean sugar islands. Britain gained all territory east of the Mississippi River; Spain kept territory west of the Mississippi, but exchanged East and West Florida for Cuba.