AIK got off to a dream start with two goals in ten minutes.
A heavy blow in the derby for Hammarby, who came into the game with three straight losses.
Bajen reduced but ten minutes into the second half, AIK pushed in 3-1.
Despite that, Hammarby was able to come back - and turn around.
David Jansson had a great evening.
He scored Bajen's first goal and also scored 3-3 and 4-3 when the team took the lead with a quarter left.
But AIK finished strong.
Daniel Andersson arranged 4-4 and 5-4.
In the 92nd minute came 6-4 through Johan Esplund.