It was renovated in the 18th century .
It was used for a while as a prison and a detention house for debtors .
It was renovated in the 18th century and used for a while as a prison and a detention house for debtors .