(CNN) -- Australia wrapped up a thrilling third and final Test at the WACA by 35 runs to win the series 2-0 on Sunday.
The West Indies entered the final day needing 51 runs to win the match and level the series, but with numbers 10 and 11 Kemar Roach and Gavin Tonge at the crease.
Chasing 359 for victory, Roach and Tonge took 15 runs off the first 3.2 overs bowled by Shane Watson and Doug Bollinger.
But with the third ball of the fourth over of the day, Bollinger had Roach caught behind to wrap up the match, umpire Billy Bowden giving him out.
Roach was adamant he had not hit the ball and went for the referral, but the TV replays were inconclusive and the decision stood.
It was a disappointing conclusion for the West Indies, who have restored pride after being thrashed in the first Test before coming close to forcing victory in the second Test in Adelaide.
Australia were on top for much of the third Test in Perth, but a second innings collapse left the tourists with an outside chance of leveling the series.
They lost early wickets, including captain Chris Gayle, who hit an inspired century in their first innings, but new cap Narsingh Deonarine (82) and Brendan Nash (66) added 128 in a defiant fourth day stand before Shane Watson -- who took the vital wicket of Gayle -- struck again.
He clean-bowled Deonarine to end his 171-ball innings and the writing was on the wall for the West Indies, who lost wickets regularly to leave them teetering on the brink going into the last day.
In Sunday's other Test match, England held on for a dramatic draw at Centurion Park against hosts South Africa, with their number 11 Graham Onions surviving a tense final over by 100-cap Makhaya Ntini.
It left England on 228 for nine wickets, having long abandoned the victory target of 264 in the opening match of the series.
The match seemed to be heading for a routine draw when Jonathan Trott and Kevin Pietersen compiled a century stand on a pitch which appeared docile.
But Pietersen was needlessly run out for 81 to spark a collapse as South African new cap Friedel de Wet produced a superb spell with the second new ball to leave England hanging on.
De Wet dismissed Trott for 69 and took three for three in five overs as five wickets fell in the final 15 overs.
But the ever-reliable Paul Collingwood and Onions survived the last 20 balls as England had a lucky escape.
South African captain Graeme Smith put a brave face on their failure to force victory and took comfort on their overall performance.
"The emotion in our dressing room is excitement about getting so close and bowling so well," he said.
The second Test in Durban starts on Boxing Day.