Piracy was enough of a problem that some states entered into the redemption business. In Denmark, "At the beginning of the 18th century money was collected systematically in all churches, and a so called 'slave fund' (slavekasse) was established by the state in 1715. Funds were brought in through a compulsory insurance sum for seafarers. 165 slaves were ransomed by this institution between 1716 and 1736." "Between 1716 and 1754 19 ships from Denmark-Norway were captured with 208 men; piracy was thus a serious problem for the Danish merchant fleet."