Floodwaters now surround the nearly 900-year-old structure.