Bahá’u’lláh departed the prison city in 1877 after nine years of continuous incarceration within the city walls.