The scope of corsair activity began to diminish in the latter part of the 17th century, as the more powerful European navies started to compel the Barbary States to make peace and cease attacking their shipping.