Let's examine the parliamentary status of each Prime Minister during their tenure: - H.D. Deve Gowda was a member of the Rajya Sabha from Karnataka when he became Prime Minister in 1996. - I.K. Gujral was a member of the Rajya Sabha when he became Prime Minister in 1997. - Chandrashekhar was a member of the Lok Sabha, representing the Ballia constituency of Uttar Pradesh, during his term as Prime Minister (1990-1991). - Dr. Manmohan Singh was a member of the Rajya Sabha, representing Assam, throughout his tenure as Prime Minister (2004-2014).