Input: Which town was a free port before Spain joined the union in 1986 with a capital of a prominent city of the kingdom of Castile ?
Output: Melilla