The words "he then" are not required here. The correct sentence is "Gavaskar was a great batsman who having played more than 100 test matches, decided to call it a day".
Create a FREE account and get:
CAT Averages, Ratios & Proportions
CAT Logarithms, Surds & Indices