Given the task definition and input, reply with output. In this task, you will be presented with a question and you have to answer the question based on your knowledge. Your answers should be as short as possible.

By what year was the building located in the administrative and commercial centre of Moray in ruinous condition ?
1680