It was built in the 14th century , and by the 17th century had
It was built in the 14th century and had until the 17th century .

Are these two sentences paraphrases of each other?
yes