INS Shalki, commissioned in 1992, was the first submarine to be built in India at Mazagon Dock Limited. It was constructed based on technology transfer from Germany. INS Chakra was on lease from the Soviet Union, while INS Virat and INS Vikrant are aircraft carriers, not submarines.