(CNN) -- Sachin Tendulkar was unbeaten on exactly 100 and passed 30,000 international runs as India batted out for a draw in the opening Test against Sri Lanka in Ahmedabad on Friday.
Tendulkar and Gautam Gambhir, who made 114, helped India to 412 for four wickets when the match was called off on the fifth day.
The home side had faced a massive 334 runs deficit on first innings and were in danger of losing a Test to the Sri Lankans for the first time on home soil.
Batting maestro Tendulkar reached the new record landmark, he is the leading run-getter iin Test and one--day internationals, when he reached 35 soon after lunch, turning Chanaka Welegedara to square-leg for a routine single.
He was on his way to his 43rd Test century, but the result was still in doubt when Gambhir departed.
But Tendulkar compiled an unbroken fifth wicket stand of 137 with VVS Laxman, who finished unbeaten on 51.
It completed a high-scoring Test in which 1,598 runs were scored with just 21 wickets falling.
Sri Lanka placed their hopes on Test world record holder Muttiah Muralitharan but he was wicketless in the second innings despite bowling 38 overs.
Gambhir was making his third century in successive Tests, but once again it was Tendulkar who stole the headlines as the 36-year-old continues to add more runs to his massive tally.
The second Test of the three-Test series starts in Kanpur on Tuesday.
In other cricket news, the first one-day international between South Africa and England in Johannesburg was called off due to heavy rain at the Wanderers.