Australia captain Michael Clarke will return from injury in Saturday's World Cup match against Bangladesh.
Clarke had surgery on his hamstring less than two months ago and was set a deadline of this weekend if he was to take any part in the World Cup.
He has come through two warm-up matches, scoring 98 runs, and coach Darren Lehman confirmed the news.
Clarke 33, will replace George Bailey, who led Australia to victory over England last week.
He suffered two injuries to his left hamstring in 2014 before tearing his right hamstring while fielding in the first Test against India on 13 December.
He even went so far as to suggest that the injury may have ended his career.
But, by 24 December, he stated his desire to be fit for the World Cup and returned to action in grade cricket on 31 January.
Michael Clarke's injuries in 2014
1 March: Sustains a fractured shoulder after being hit by South Africa bowler Morne Morkel while hitting 161 not out in the third Test in Cape Town
31 August: Suffers a recurrence of a left hamstring injury while batting against Zimbabwe and returns home from the one-day tri-series. The injury, initially triggered by the long-haul flight to Zimbabwe, rules him out of the one-day series against Pakistan in October, though he returns for the Tests
14 November: Injures the same hamstring in the first one-day international against South Africa in Perth
9 December: Retires hurt on 60 with a back injury before tea on the opening day of the first Test against India in Adelaide. He later returns to complete a century
13 December: Limps off the field on the final day of the first Test against India holding his right hamstring and misses the rest of the series