Every corner of its ancient mud-brick walls and every shadow stretching across its old courtyards tells a story of the nation