 On the restoration of Charles II to the throne in 1660 he was a lieutenant in a foot (infantry) regiment.James Cotter founded his career in royal service by organising and executing the assassination of one of the regicides (people involved in the trial and execution of Charles I), John Lisle, in Switzerland (at Lausanne, 14 September 1664).In 1666 he went to the West Indies.