Y.V. Chandrachud had the longest tenure as the Chief Justice of Independent India, serving for over 7 years.