Wayne Rooney scored a sensational game winner against Slovenia. Reuters

Jack Wilshere scored a brace with a pair of left-footed strikes, and Wayne Rooney provided the game winner, as England came from behind in a thriller to defeat Slovenia on Sunday in a Euro 2016 qualifer at Stozice Stadium in Ljubljana, 3-2.

Slovenia showed little fear against a strong England lineup. On a breakaway, forward Milivoje Novakovic scored with precise low finish in the 37th minute to put Slovenia on the scoreboard. The score would remain 1-0 for the hosts until Wilshere evened the match with a blistering shot from distance.

Wilshere would score again with another fantastic shot in the 73rd minute. The strike was nearly from the same spot, but this time it seemed to have even more velocity.

Forward substitute Nejc Pecnik equalized with sublime header in the 84th minute off an excellent cross from Bojan Jokic. But Rooney followed it up two minutes later with the game winner, courtesy of a right-footed blast from about 18 yards out and off a Theo Walcott assist. With the goal, Rooney is now tied with Gary Lineker with 48 goals for England.

The two goals by Wilshere were his first in an England jersey. The Arsenal midfielder was pleased to finally provided a scoring lift in an international match.

"It's obviously nice to get my first goals for England, they have been a long time coming," said Wilshere. "I probably wouldn't have had a shot for the second one if I hadn't already scored, but after I'd scored one I had more confidence.

"I have said that I need to score more goals, it is something I need to add to my game. Lampard, Gerrard and Scholes have done that for England."

The next scheduled match for England is on Sept. 5 against San Marino in a Euro 2016 qualifier. On the same date, Slovenia will face Switzerland.

All Goals Highlights 2:3 | Slovenia vs mszabi