Melilla's civil population in 1860 still amounted for only 375 estimated inhabitants. In a 1866 Hispano-Moroccan arrangement signed in Fes, both parts agreed to allow for the installment of a customs office near the border with Melilla, to be operated by Moroccan officials. The Treaty of Peace with Morocco that followed the 1859–60 War entailed the acquisition of a new perimetre for Melilla, bringing its area to the 12 km2 the autonomous city currently stands. Following the declaration of Melilla as free port in 1863, the population began to increase, chiefly by Sephardi Jews fleeing from Tetouan who fostered trade in and out the city. The first jews from Tetouan probably arrived in 1864, meanwhile the first rabbi arrived in 1867 and began to operate the first synagogue, located in the Calle de San Miguel. The Jewish population, who progressively acquired Spanish citizenship, increased to 572 in 1893.F