Answer
Tillakaratne Dilshan was the first cricketer in the history of the sport to score hundreds in all three formats of cricket while being captain. Dilshan scored his first hundred as captain of Sri Lanka in the 2007 Cricket World Cup, and went on to score hundreds in both Test and ODI cricket while leading his country.