(CNN) -- Wolfgang Loitzl denied overall World Cup leader Simon Ammann his second straight victory in the Four Hills ski-jumping tournament by pipping him to first place in Garmish-Partenkirchen.
Loitzl jumped superbly to deny Ammann in his bid for a clean sweep in the Four Hills.
The pair thrilled the New Year's day crowd, who had gathered in their thousands at the southern German resort, with the contest in the balance until the final leap of the second round by Swiss star Ammann.
He jumped 134.5 meters, which combined with his massive first round effort of 140 meters gave him a greater distance than Loitzl, but he lost out overall because of superior style marks for the Austrian.
It was the first World Cup win for Loitzl, who had produced a superb second round effort of 136.5 meters to put the pressure on double 2002 Olympic champion Amman.
The pair had occupied the first two positions in the opening Four Hills event in Oberstdorf, but this time it was Loitzl who triumphed.
Finland's Harri Olli scored 258.6 points to finish a distant third while Austria's 18-year-old Gregor Schlierenzauer took fourth for the second successive event.
Ammann is bidding to give Switzerland a first overall success in the prestigious Four Hills tournament -- which takes place over the Christmas and New Year period in Germany and Austria.
He now trails Loitzl by 0.5 points in the Four Hills overall battle but leads the World Cup standings after nine of 18 rounds with 765 points to 610 for Schlierenzauer with Loitzl in third on 539.
The jumpers now move on to Innsbruck in Austria on Sunday and finish in another Austrian resort of Bischofshofen next Tuesday.
The reigning Four Hills champion Janne Ahonen of Finland retired last year after five overall wins in the tournament.