The earliest preserved Motovun walls date back to the 11th and 12th centuries when tall and mighty bulwarks fortified with towers were built. The main bulwark was further fortified in the 12th and 13th centuries. At the beginning of the 15th century Motovun had already received its shape of Gothic stronghold with a new town gate. In the 16th century the bulwarks were additionally fortified and the Servite convent was added to the fortification system along with a new bastion. In the 17th century a part of the walls was pulled down to satisfy the peace treaty between Austria and Venice.