The Moroccan authorities arrested, in 1862, two Confederate diplomats who visited Tangier. The arrest was ordered by the U.S. Consul James DeLong who held the two men in prison and sent them to Boston, in a move that violated Morocco's neutrality.