Before being elected president, how did the president who led the American occupation of Spanish West Florida during the First Seminole War gain fame?
William King (Governor of West Florida):  He was appointed to the position by Andrew Jackson, who led the American occupation of Spanish West Florida during the First Seminole War. Andrew Jackson: Andrew Jackson (March 15, 1767 – June 8, 1845) was an American soldier and statesman who served as the seventh President of the United States from 1829 to 1837. Andrew Jackson:  Before being elected to the presidency, Jackson gained fame as a general in the United States Army and served in both houses of Congress.
as a general in the United States Army