Newcastle United guaranteed a Premier League 2 Division 2 playoff position by winning 3-2 at Stoke City to move level on points with second-placed Wolverhampton Wanderers.
Stoke went 2-0 up with first-half goals from Gabriel Kyeremateng and Daniel Jarvis either side of a missed penalty by Newcastle's Owen Bailey.
But Bailey redeemed himself by pulling a goal back and doubled his tally with the winner, after Yannick Toure had made it 2-2.
Victory at the bet365 Stadium puts third-placed Newcastle behind Wolves on goal difference and only two points adrift of leaders Southampton with two matches remaining.
The league champions will gain automatic promotion and the teams ranked second to fifth will compete in the playoffs, with the winners joining them in Division 1 next season.
See: Stoke report | Newcastle report