The war brought an end to the American practice of paying tribute to the pirate states and helped mark the beginning of the end of piracy in that region, which had been rampant in the days of Ottoman domination (16th–18th centuries).