Answer:
privateer
Explanation:
Privateer is an armed ship owned and officered by private individuals holding a government commission and authorized for use in war, especially in the capture of enemy merchant shipping.
Privateers were similar in style to pirates, but worked for their own government, not for their own account.