sentence1: Next to the church, the prison-like building with those fierce, barred windows was, in fact, a prison when it was built in the 17th century.
sentence2: The prison was built in order to imprison religious convicts.