West Bromwich Albion missed out on the Championship play-offs as Joel Piroe's stoppage-time free-kick saw Swansea City claim a thrilling 3-2 win on the final day of the regular season.
Okay Yokuslu steered Albion in front only for on-loan Wolves midfielder Luke Cundle to guide in the first equaliser.
Semi Ajayi's drive revived the visitors' play-off hopes before Olivier Ntcham's classy leveller.
Piroe's 20th goal of the season sealed Swansea's triumph.
Defeat means West Brom finish ninth, three points short of sixth place, having won only three of their last 10 games of 2022-23.
Swansea, who extended their unbeaten run to nine matches, end the campaign 10th, behind Albion on goal difference.