Last updated on .From the section 2014 Fifa World Cup

Spain beat Australia in Group B

Reigning champions Spain avoided the ignominy of finishing their World Cup campaign bottom of Group B with victory over Australia in Curitiba.

Goals from David Villa, Fernando Torres and Juan Mata prevented La Roja from suffering a third successive loss for the first time since 1991.

Villa scored the opener when he flicked in Juanfran's cross, before Chelsea's Torres fired in the second.

Mata slid in the third from fellow substitute Cesc Fabregas's lofted pass.

Match analysis Brad Friedel Tottenham and former USA goalkeeper "Australia looked like they were trying to play with high energy levels but after Spain went 1-0 up it was like a friendly match and they sort of petered out. "I'm glad it stayed at 3-0 because it could have been four, five or six and that would not have reflected just how well Australia played in this tournament."

The result means Spain finish third in the table with three points after one win and two defeats, while Australia finish bottom.

During the opening 30 minutes, Vicente del Bosque's Spain played like a side bewildered by the events of their opening two games.

Their play was characterised by misplaced passes, uncertainty in defence and a lack of bite in the final third.

But the reliable Villa, whose inclusion was one of seven changes, eased those concerns with a familiar flicked finish nine minutes before the break to cap a move that was typical of Spain in their glory years of 2008, 2010 and 2012.

Andres Iniesta threaded a pass down the right to overlapping full-back Juanfran. The Atletico Madrid played squared to Villa, whose clever finish outfoxed keeper Mat Ryan.

It was the 32-year-old's ninth goal in World Cups and his 59th in total in what will be his 97th and final game for Spain. Villa was later substituted, head bowed, and was consoled by his team-mates on the bench.

Match facts Torres scored with his first shot on target of the World Cup; having played 123 minutes.

Australia's Matthew Spiranovic completed all 23 of his passes in the first half against Spain

Villa has scored seven of Spain´s last 11 goals at the World Cup

The European side improved tenfold after the break as Australia - with eight of their starting XI aged 26 and under - tired as they attempted to break up Spain's trademark tiki-taka exchanges.

After increasing the pressure, Del Bosque's men eventually doubled their lead in the 69th minute when Iniesta's ball split the defence and found Torres, who sidefooted in. That was the Chelsea forward's first World Cup goal since 2006.

The final goal of Spain's campaign came eight minutes from the end. This time it was Fabregas who was the provider.

The Chelsea midfielder, who had a falling out with Del Bosque during the build-up to the match, played a lovely lofted ball to Mata at the far post. The Manchester United player barely looked up before poking the ball under the body of Ryan.

Manchester City's David Silva, who was also a substitute, went close with a drilled shot in stoppage time as his side bid farewell to a disastrous Brazil 2014 campaign with a flourish.

Spain fans were in good spirits despite their side's predicament

Villa (far right) is consoled by his team-mates after coming off

Torres had very few chances in Monday's match in Curitiba

Mata scored having experienced only 36 minutes of World Cup action