Feyenoord secured second spot in the Eredivisie and a place in the Champions League with victory over Heerenveen at Abe Lenstra Stadion.
An entertaining clash saw the home side take the lead through Bas Dost, but the Rotterdam club responded with goals from Otman Bakkal, Sekou Cisse and Elvis Manu.
Rajiv van la Parra netted late on for Heerenveen, but the visitors survived a nervy final few minutes to claim a top-two finish.
Although there were no goals in the first half, it was not short on chances with home goalkeeper Kristoffer Nordfeldt making good saves to deny Ruben Schaken and Karim El Ahmadi.
Filip Djuricic came even closer to scoring for Heerenveen five minutes before the interval with a header which came back off the right post.
The home side eventually broke the deadlock after 56 minutes through Dost, who made the most of a pass from Sven Kums to tap home from three yards out.
That goal spurred Feyenoord to life, though, and they were level four minutes later when Bakkal played a one-two with Schaken before smashing a shot into the left corner.
The visitors then took the lead after 69 minutes with Sekou Cisse deceiving everyone with a drive into the right corner from 12 yards out.
And Feyenoord added another two minutes later thanks to substitute Manu, who beat Nordfeldt with a powerful strike into the roof of the net.
Van La Parra pulled a goal for Heerenveen five minutes from time, putting the finishing touch to a pass from Djuricic, but Feyenoord hung on for the points and a place in Europe's elite club competition.
Despite the loss, Heerenveen can still console themselves with a place in the Europa League after finishing the season in fifth.