Two years before the demolition of the Babri Masjid in 1992, the then Congress-backed Chandra Shekhar-led government was "on the cusp" of resolving the Ayodhya dispute by promulgating an ordinance, according to a book written on the former prime minister by Rajya Sabha Deputy Chairman Harivansh.