Same meaning?
It was built in the 14th century and had until the 17th century .
It was built in the 17th century and had in the 14th century .
no