Whose campaign in Florida motivated Spain to sell that territory the us?

Spain was motivated to sell Florida to the US by the threat of a campaign in Florida by Andrew Jackson.
Copyright Wanderlust World © https://www.ynyoo.com