Gilbert, Sullivan, and their manager Richard D'Oyly Carte arrived in New York in October 1879 to present an authorized version of "H.M.S. Pinafore". During this time, Sullivan continued work on the team's next operetta, "Pirates", and completed it on 28 December.