After waging several campaigns against American Indians, he defeated a British army at New Orleans (1815) and successfully invaded Florida (1818). As President, he replaced an estimated 20% of those in public office with Democrat supporters, a practice that became known as the spoils system.