 Complete the following phrase:  The town was thereafter a town of the Kingdom of Navarre, and the seat of the sheriff of the Lower Navarre district merindad of Ultrapuertos or Deça-Ports. It remained as such up to the period of the 