This command starts a pirate within the province with the specified ID.
pirate [province id]
Search Our Database of 304 EU4 Console Commands
pirate 2223
Larestan's province ID is 2223, the above command would start a pirate in Larestan.