Ninjas. Because pirates would be too busy getting drunk, sexually assaulting anyone that gets in their way, and getting lost at sea.
Ninjas would sneak on the ships and kill them all in their drunken sleep.
Ninjas would sneak on the ships and kill them all in their drunken sleep.