The case was P. Sambamurthy vs. State of Andhra Pradesh (1986).