Afghanistan suffered a chastening start to Test cricket with Shikhar Dhawan becoming the first Indian to score a century before lunch on day one of a Test before the visitors launched a late fightback.
Dhawan, the sixth batsman to achieve the feat in total, racked up 104 runs from 91 balls prior to the interval at M. Chinnaswamy Stadium in Bengaluru, with all but 10 of those runs coming in boundaries.
The opener eventually snicked paceman Yamin Ahmadzai behind for 107 but Murali Vijay (105) - with whom Dhawan put on 168 for the first wicket - also scored a century during a rain-affected afternoon as India closed on 347-6 after electing to bat.
Vijay shared a second-wicket stand of 112 with KL Rahul (54), before Afghanistan fought back towards stumps with five wickets for 54 runs, including Ajinkya Rahane (10), who is standing in as skipper for Virat Kohli.
Rashid Khan trapped Rahane lbw to bag his first Test scalp, the 19-year-old leg-spinner - top of the T20I bowling rankings and second in the ODI standings - ending the day with 1-120 from his 26 overs.
Dhawan smeared 19 fours and three sixes during his seventh Test ton as he matched Victor Trumper, Charles Macartney, Don Bradman, Majid Khan and David Warner in reaching three figures in the opening session of a Test.
The left-hander has scored over 100 runs in a session before, though, doing so against Australia on debut in Mohali in 2013, and then against Sri Lanka in Galle last year.
Dhawan's fine innings came to a close when he edged Ahmadzai to Rahmat Shah at second slip who, unable to claim the catch, parried the ball to Mohammad Nabi at first.
Vijay, whose hundred was his 12th in Tests, was the next man to go, with the score on 280, when he was pinned lbw by Wafadar, before Rahul chopped Ahmadzai onto his stumps two balls later.
Mujeeb Ur Rahman, the first player born in the 21st century to feature in a Test match, also bagged his first wicket when he foxed Cheteshwar Pujara (35) with a googly and had the batsman caught at leg gully, while Dinesh Karthik (4) was run out.
Afghanistan are the 12th nation to play Test cricket, with only Australia, against England in Melbourne in 1877, winning their first match at this level.
Comment below to get involved in the debate, but please adhere to our House Rules. If you wish to report any comment, simply click on the down arrow next to the offending comment and click 'Report'.