Montazeri , who died during Saturday night aged 87 , was an architect of the 1979 revolution that overthrew the U.S.-backed shah and was once named to succeed Ayatollah Ruhollah Khomeini as supreme leader of the Islamic state .