With two tons and one half-century, India ended the day 1 of the historic one-off Test against Afghanistan at 347 runs for the loss of six wickets.
Openers Shikhar Dhawan and Murali Vijay gave India the required start to have an upper hand over the Test debutants. The two established a partnership of 168 runs before Dhawan gave away an easy catch to Mohammad Nabi off Ahmadzai.
Dhawan downplayed the Afghan attack and started hitting from the very first ball to reach his century in just 87-balls. A stat which we generally see in ODI's.
His 107 runs inning included 19 fours and three sixes.
Vijay then took charge and punished Afghanistan's three-pronged spin attack of Rashid Khan, Mujeeb Ur Rahman and Nabi on both sides of the wicket.
Vijay fell leg-before after offering no shot to a Wafadar delivery to depart for 105. The right-hander`s 12th test century included 15 boundaries and a six.
Two balls later, Lokesh Rahul, promoted to number three ahead of Cheteshwar Pujara, chopped an innocuous Ahmadzai delivery onto his stumps to depart after a fluent 54.
Afghanistan, who became the 12th test playing nation, clawed their way back in the final session at the M Chinnaswamy Stadium with some lion-hearted efforts by the bowlers against their top-ranked hosts.
Hardik Pandya was batting on 10 with Ravichandran Ashwin on seven at the other end when stumps were drawn.
Earlier, Dhawan became the first Indian to smash a century in the first session of a test as he and Vijay capitalised on Afghanistan`s limited bowling resources built around their spinners.
Left-handed Dhawan batted in the limited-overs mode to smash 107 off 96 balls, studding his blistering knock with 19 fours and three sixes.
Seamer Yamin Ahmadzai claimed Afghanistan's first wicket in test cricket after the lunch break when Dhawan edged him to Rahmat Shah, who parried it towards the safe hands of Mohammad Nabi at first slip.
Leading the Indian side in the absence of regular skipper Virat Kohli, who is recovering from a neck injury, Rahane made 10 before becoming Rashid's maiden test victim.
Pujara scored 35, while stumper Dinesh Karthik, playing his first test in eight years, made four before being run out in the frantic third session.