Melilla was initially jointly administered by the House of Medina Sidonia and the Crown, and a 1498 settlement forced the former to station a 700-men garrison in Melilla and forced the latter to provide the city with a number of maravedíes and wheat "fanegas". The Crown's interest in Melilla decreased during the reign of Charles V. During the 16th century, soldiers stationed in Melilla were badly remunerated, leading to many desertions. The Duke of Medina Sidonia relinquished responsibility over the garrison of the place on 7 June 1556.