Complex sentence: Britain gained control following the American Revolutionary War by treaty in 1783, when it exchanged East Florida with Spain for the Bahamas.
Split into simpler sentences: Britain gained control following the American Revolutionary War by treaty in 1783. It exchanged East Florida with Spain for the Bahamas.