Saint Barthélemy was first claimed by France in 1648. The island was given to Sweden in exchange for trade rights in Gothenburg in 1784 and Sweden founded the Swedish West India Company. Prospering during the Napoleonic Wars, assets were low thereafter, and the island was sold back to France in 1878.