A second-half double from Sergei Gridin secured Kazakhstan's first win of their Euro 2012 qualification campaign at home to Azerbaijan.
Gridin netted either side of substitute Vugar Nadyrov's 63rd-minute equaliser with all the goals scored in a nine-minute period just after half-time.
The hosts had failed to score or register a point before today's game, but victory ensured they joined Berti Vogts' side on three points at the foot of the Group A table.
An even opening half passed by without a goal and with very little incident as Kazakhstan's run without finding the net looked like it would extend to a sixth game.
Gridin did threaten in the 26th minute when he fired wide from 12 yards while at the other end Samat Smakov twice blazed over from well outside the box.
The opener arrived eight minutes after half-time when Gridin latched onto a cross from Sergey Ostapenko to score from close range.
After waiting so long to score the home fans would have been disappointed to see Azerbaijan level just six minutes later, with Nadyrov effortlessly picking his spot from 12 yards out.
But Kazakhstan were not to be denied and Gridin fired in the winner on 68 minutes after he was set free by an assist from Marat Khairullin.
Gridin was denied a hat-trick three minutes from the end when Azerbaijan goalkeeper Kamran Agayev made a spectacular stop to keep out his left-footed effort.