England outwitted and outfought an error-prone Australia 21-17 to win their July series 2-1 on Saturday, a second success for northern hemisphere rugby after Ireland’s earlier triumph over the All Blacks.

Young guns Freddie Steward and Marcus Smith scored the tries and England’s streetwise pack bossed the breakdown as coach Eddie Jones masterminded a second series victory over his own country after their 3-0 sweep in 2016.

Australia scored tries through Tom Wright and Folau Fainga’a in front of a sellout crowd of 43,274 at the Sydney Cricket Ground, but the home side’s accuracy deserted them too frequently at crucial moments.

The Wallabies won the opening test of a hardfought series 30-28 in Perth but England struck back with a 25-17 victory in Brisbane to take it to Saturday’s decider.

“They really put us to the test tonight. We stuck together, stuck at it and managed to come away with the win,” said England skipper Courtney Lawes.

After being blown away in the first half an hour in Brisbane last week, Australia had the better of the first half with some bright running but still managed to head back to the dressing room 11-10 down.

England’s Owen Farrell had opened the scoring with a penalty after 17 minutes but the Wallabies soon responded with a fine try from winger Wright, who made a break down the right wing before exchanging passes with Nic White and touching down.

Australia flyhalf Noah Lolesio added the extras and a penalty on the half hour mark but Farrell almost immediately reduced the deficit with his second three-pointer.

Some ill-discipline from the Wallabies gifted England another penalty just before halftime and they kicked to touch, pounding away at the home defence until Steward managed to find a slim fissure in it to touch down in the left corner.

England returned after the break showing the same sort of physicality they had in Brisbane, and a third Farrell penalty and an opportunist try from Marcus Smith had them 21-10 in front after 55 minutes.

Lolesio had the ball batted out of his hands and Smith pounced on it to race away and score.

Australia knew the series was on the line and laid siege to the England line, finally getting their reward in the 66th minute when replacement hooker Fainga’a forced his way over to reduce the deficit to 21-17.

Roared on by the crowd, the Wallabies hammered away looking for a winning try but the England defence held firm to almost certainly secure their coach his job through to next year’s World Cup.

“You’ve got to give credit to them,” said Australia skipper Michael Hooper.

“I don’t think we were clinical. We created good opportunities tonight but didn’t finish them. Some pleasing elements but it really hurts.”