After years of legal woes and acting under a court order, Carnival Corp. on Monday named former federal prosecutor Peter Anderson as its first chief ethics and compliance officer.

Anderson, who was not available for comment, brings a strong environmental background to the job. He said in a statement he looked forward to working with the Miami-based cruise line “to help build an ethics and compliance program that is truly world class. Our strategic plan involves goals and key actions to build a strong and proactive compliance culture that is based on open communications—both listening and responding—as well as adequate resources and improved tools.”