FRANKFURT, Germany (AP) — Stuttgart earned a hard-fought 2-0 victory over promoted Darmstadt on Sunday to lift itself out of the relegation zone in the Bundesliga, while Hannover came from behind to win 2-1 in Hamburg.

An own goal by Gyoergy Garics in the 68th and a strike by Timo Werner deep into injury time gave Stuttgart a four-point cushion to bottom-place Augsburg and dealt Darmstadt its first defeat on the road.

Garics' attempt to head away a cross from Christian Gentner at the far post ended up in his own net, after Darmstadt's goalkeeper Christian Mathenia had foiled two good chances for Stuttgart.

Werner, who had headed against the crossbar in the second half, secured the win by shaking off a defender and rounding Mathenia to finish a counterattack.

That proved to be the final touch of the match. Darmstadt is now 13th.

Hannover moved up past Stuttgart and is 14th after its win in Hamburg.

Hamburg went ahead in the 6th through Michael Gregoritsch. Nicolai Mueller burst through on the right and squared the ball to the unmarked Gregoritsch for a simple tap-in.

Hamburg nearly doubled the lead before the break but Marcelo Diaz drove his free kick from 18 meters (yards) over the wall and against the post.

Hannover raised its game in the second hall and pulled level in the 59th through Hiroschi Kiyotake's penalty.

Uffe Bech earned the penalty when he came down after Enver Spahic's sliding tackle.

Salif Sane scored the winner in the 67th for Hannover, rising at the far post to head in a cross from Kiyotake after swapping passes with the Japanese.