Dilruwan Perera ripped the heart out of the Australian order to spin Sri Lanka to a series-clinching 229-run victory inside three days of the second Test at Galle.
The 34-year-old off-spinner laid bare Australia's spin frailties, claiming 6-70 as the world's top-ranked Test team folded for 183 on Monday in their pursuit of an improbable 413-run victory target.
Perera, who had claimed 4-29 in the first-innings and scored 64 in his team's second innings, became the first Sri Lankan player to score a fifty and claim 10 wickets in the same match as his side clinched their first Test series victory over Australia since 1999.
"Not too many teams do this to the number one team," Angelo Mathews, Sri Lanka captain, said.
"I was under a little but pressure after winning the toss. But what a performance from Dilruwan after a quiet match [first Test] in Pallekele. We backed him and the selectors backed him. Getting the win is the most pleasing thing for me."
Resuming on 25 for three, Australia captain Steve Smith (30) and deputy David Warner (41) showed positive intent, frequently using their feet against the spinners and dealing mostly in boundaries even though it was merely delaying what looked inevitable.
Perera separated them, trapping Warner leg-before with a straight delivery. The batsman reviewed the decision but could not get it overturned.
The spinner then returned to induce Smith into giving a bat-pad catch to Kusal Mendis at forward short leg.
Perera, whose all-round performance earned the man-of-the-match award, completed his five-wicket haul when Adam Voges (28) attempted a reverse sweep only to have his leg stump pegged back.
Kusal Mendis then displayed tremendous reflexes as he stopped a Peter Nevill shot at forward short leg and flicked it back on the stumps to run out the batsman and trigger wild celebrations at the Galle International Stadium.
"It has been tough going," Smith, Australia captain, said. "To lose the toss was not ideal. I thought 200 in each innings was probably about par. It is incredibly hard to come back after being bowled out for 106 and chasing 400 ."
Sri Lanka 281 all out & 237 all out (Perera 64, Starc 6-50)
Australia 106 all out & 183 all out (Warner 41, Perera 6-70)