either end of the hall, over the two outer arches, is an inscription by Persian poet Amir Khusrow: Hammam The hammam (Arabic: حمّام) were the imperial baths, consisting of three domed rooms with white marble patterned floors. It consists of three apartments separated by corridors and crowned with domes. The apartments are illuminated by a colored glass skylight. The two rooms to either side of the present entrance are believed to have been used by the royal children for bathing. The eastern apartment, containing three fountain basins, was used primarily as a dressing room. In the center of each room stood a fountain, and one of the rooms contained a marble reservoir built into the wall. As legend goes, perfumed rose-water once ran from the taps. The western apartment was used for hot or vapor baths, and the heating arrangement was being fixed in its western wall. Baoli The baoli or step-well is one of the few monuments that were not demolished by the British after the Indian Rebellion of 1857. The chambers within the baoli were converted into a prison. During the Indian National Army Trials (Red Fort Trials) in 1945–46, it housed Indian National Army officers Shah Nawaz Khan (general), Colonel Prem Kumar Sahgal, and Colonel Gurbaksh Singh Dhillon. The Red Fort Baoli is uniquely designed with two sets of staircases leading down to the well. Moti Masjid West of the hammam is the Moti Masjid, the Pearl Mosque. A later addition, it was built in 1659 as a private mosque for Emperor Aurangzeb. It is a small, three-domed mosque carved in white marble, with a three-arched screen leading down to the courtyard. Hira Mahal The Hira Mahal ("Diamond Palace") is a pavilion on the southern edge of the fort, built under Bahadur Shah II and at the end of the Hayat Baksh garden. The Moti Mahal on the northern edge, a twin building, was demolished during (or after) the 1857 rebellion. The Shahi Burj was the emperor's main study; its name means "Emperor's Tower", and it originally had a chhatri on top. Heavily damaged, the tower is undergoing reconstruction. In front of it is a marble pavilion added by Emperor Aurangzeb. Hayat Bakhsh Bagh The Hayat Bakhsh Bagh () is located in the northeast part of the complex. It features a reservoir, which is now dry, and channels through which the Nahr-i-Bihisht flows. At each end is