 He was elected to the first Lok Sabha from Tirupathi and to the second Lok Sabha from Chittoor constituencies in 1952 and 1956 respectively.He was elected in 1948 as Deputy Speaker of Lok Sabha with Ganesh Vasudev Mavalankar as the Speaker.After the death of Mavalankar in 1956, he was elected as Speaker of Lok Sabha.