When Suffian retired in 1982 and was replaced by Raja Azlan Shah, Salleh became Chief Justice of Malaya. However, within two years, the Sultan of Perak died. Raja Azlan was forced to resign to ascend the throne, and Salleh became Lord President in 1984.[1]