Leipzig:Hosts Germany salvaged some pride by finishing 3rd at the Confederations Cup. Michael Ballack sealed the tie against Mexico, with an inch-perfect free kick, seven minutes into extra-time. Germany had been put on the backfoot from the start. But with just seven minutes left for the break, Lukas Podolski gave them the lead with a breaktaking turn and shot. Germany went into half-time leading 2-1, but things suddenly got uncomfortable for the hosts. Mike Hanke sent off for a vicious challenge on Carlos Salcido, and Germany was down to 10 men. And the Mexicans took immediate advantage of their numerical superiority, as Jared Borgetti struck a goal out of virtually nowhere. Close finish With time running out, both sides threw caution to the wind. Robert Huth knocked the ball home from close range as the Germany looked to tie up the game in normal time. But the German defence under the microscope for some sloppy play over the last two weeks, cracked with just five minutes of normal time left, as Borgetti came up with his second goal of the match and 3rd of the tournament. The 2006 World Cup hosts eventually ran out winners in extra-time, but there's plenty of work for coach Jurgen Klinsman to do before next year's tournament.