Much of the palace was demolished in the general rebuilding of Constantinople in the early years of the Ottoman era. The area was initially turned into housing with a number of small mosques before Sultan Ahmet I demolished the remnants of the Daphne and Kathisma Palaces to build the Sultan Ahmed Mosque and its adjoining buildings. The site of the Great Palace began to be investigated in the late 19th century and an early 20th-century fire uncovered a section of the Great Palace. On this site prison cells, many large rooms, and possibly tombs were found.