Tim Paine's tenure as Australia's Test captain came to a sudden end on Friday when he resigned from the position following the emergence of details of explicit messages he sent a co-worker in 2017. Here's a look back at key moments from his career.

August 2009
Makes international debut in an ODI against Scotland in Edinburgh

September 2009
Scores 111 opening the innings against England at Trent Bridge in an ODI - it remains his only international century

July 2010
Makes his Test debut against Pakistan at Lord's in the same match as Steven Smith

November 2010
Breaks his finger from a blow by Dirk Nannes while playing in a charity match for the Australia Cricketers' Association shortly after becoming the Australia A wicketkeeper against England ahead of the Ashes

March 2011
Is part of Australia's ODI World Cup squad but does not play during the tournament

April 2011
Tours Bangladesh for a one-day series and plays in the third match in Dhaka, which would be his last international game for six years

February 2017
Makes an international comeback in the T20I side against Sri Lanka when Australia have to field two teams because of a concurrent Test tour of India

September 2017
Is part of the World XI, which travels to Pakistan for a T20I series

November 2017
After a gap of more than six years, earns a recall to the Test side for the Ashes - four years on, it emerges that it was around the first match of the series that the explicit messages were sent

March 2018
Is hastily elevated to the Test captaincy following the ball-tampering scandal in Cape Town, which led to Smith being sacked from the position

October 2018
Helps save the first Test against Pakistan in Dubai with an unbeaten 61, but Australia lose the second match heavily

December 2018
After losing in Adelaide, Australia level the series against India in Perth before being heavily beaten in Melbourne - India take the series 2-1

February 2019
Secures his first Test-series win as captain with a 2-0 success over Sri Lanka

August 2019
Victory in the opening Test of the Ashes at Edgbaston is then cancelled out by Ben Stokes' heroics at Headingley to leave the series 1-1

September 2019
Australia win the fourth Test at Old Trafford to win (and therefore retain) the Ashes in England for the first time in 18 years, although the final Test is lost, so the series is drawn 2-2

November 2019-January 2020
Captains the team to a clean sweep of the summer's five Tests against Pakistan and New Zealand

December 2020
India are bowled out for 36 in Adelaide to give Australia an early series lead, but the visitors fight back to take the second Test in Melbourne

January 2021
The SCG Test is drawn through the magnificent efforts of India's middle and lower order, although dropped catches by Paine prove costly; Australia are then beaten at the Gabba for the first time in 33 years to lose another home series against India

September 2021
Paine undergoes neck surgery to repair a bulging disc in order to be fit for the Ashes series

November 2021
Paine announces his resignation as captain following the emergence of the investigation into explicit messages he sent in 2017 but vows to remain on the side as a player against England

Andrew McGlashan is a deputy editor at ESPNcricinfo