Conor Shaughnessy struck late on as Portsmouth secured the League One title and promotion to the Championship with a 3-2 win over Barnsley at Fratton Park.
Pompey knew one point would return them to the second tier following a 12-year absence, but they were up against it after Devante Cole and John McAtee scored for the play-off chasing Tykes either side of Kusini Yengi’s equaliser.
However, the hosts got the job done courtesy of Colby Bishop’s 83rd-minute penalty and Shaughnessy’s last-gasp effort.