Inter's miserable Europa League campaign ended on a positive note as they secured a last-gasp 2-1 win against Sparta Prague through Eder's brace.
With the Serie A giants enduring a difficult season, their poor league form has been combined with a string of losses in Europe that saw them eliminated before Thursday's final group game at San Siro
Having previously managed just a sole Group K success against Southampton, Inter were guaranteed to finish bottom, but went out on a high as Eder scored in either half.
Despite their struggles, this was a fifth consecutive home victory – albeit an unconvincing one, as stand-in goalkeeper Juan Pablo Carizzo was required to save Borek Dockal's penalty with the scores tied.
Eder nudged Inter in front as he starred in a strong first half, before Lukas Marecek hit back and Dockal was denied.
Although Eder then won the game in the 90th minute, it will matter little to Sparta, who had already secured top spot on matchday five.
Eder drove a free-kick just inches over the crossbar from 25 yards with the first serious effort on goal.
The Portugal international's next attempt was struck straight at Tomas Koubek, but, after 23 minutes, he forced a breakthrough.
Andrea Pinamonti's gorgeous touch teed up Eder and, although the goalkeeper parried his first shot, the 30-year-old prodded into the net.
Sparta's attacking threat had been minimal, but Andrea Ranocchia was fortunate to bundle the ball wide of his own post as he tangled with David Lafata in the area.
And the visitors drew level nine minutes after the break.
Dockal's deep cross was brilliantly flicked towards the far top corner by Marecek, with Carrizo only able to claw the ball into the net via the crossbar.
While substitute Ivan Perisic responded with a swerving blast from distance well held by Koubek, Marco Andreolli's rash challenge on Lafata then gave Sparta a penalty with 25 minutes remaining.
However, Dockal's low spot-kick was brilliantly saved by Carrizo down to his left.
Eder nodded over as Inter finally broke a spell of dominance from the visitors, before Cristian Ansaldi cut inside to test Koubek at his near post.
And it was the Argentine defender who picked out Eder to spin and drag a finish into the corner in the final minute, clinching victory.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.