Danish-Norwegian trade in the Mediterranean greatly expanded in the mid 1700s. In order to protect their lucrative business against piracy, Denmark-Norway had secured a peace deal with the states of Barbary Coast, involving the payment an annual tribute to the individual rulers of those states and additionally to the United States.