The temple annals, the Madala Panji records that the Jagannath temple at Puri has been invaded and plundered eighteen times. In 1692, Mughal emperor Aurangzeb ordered to close the temple until he wanted to reopen it otherwise it would be demolished, the local Mughal officials who came to carry out the job were requested by the locals and the temple was merely closed. It was re-opened only after Aurangzeb's death in 1707.