Ferrari's Felipe Massa claimed his first Formula One victory in an enthralling Turkish Grand Prix.
TURKISH GRAND PRIX RESULT
1 F Massa (Ferrari)
2 F Alonso (Renault)
3 M Schumacher (Ferrari)
4 J Button (Honda)
5 P De La Rosa (McLaren)
6 G Fisichella (Renault)
7 R Schumacher (Toyota)
8 R Barrichello (Honda)
But team-mate Michael Schumacher slid 12 points behind Fernando Alonso in the title race, finishing third behind him after an absorbing tussle in Istanbul.
Massa had been on pole and never looked troubled while Alonso sneaked past Schumacher on a pit-stop and held off the German over the tense final laps.
Britain's Jenson Button drove a very consistent race to finish fourth.
The turning point in Istanbul came on lap 14 when the safety car was deployed after Vitantonio Liuzzi had spun out of the exit of Turn One.
The two Ferraris took the chance to refuel and Alonso, 10 seconds adrift in third, decided to follow suit.
Race leader Massa pitted first, leaving Schumacher queuing behind him. Alonso took advantage and returned to the track just ahead of the German.
When Massa and Alonso pitted for the final time on lap 39, Schumacher assumed the lead and desperately tried to make up some precious seconds.
However, after his final stop four laps later he could only re-enter the race back in third as Alonso again flew past in his Renault.
When I think about everything I did in my life to get here, I'm very happy
Schumacher chased down Alonso, who was struggling with blistering tyres, over the last 15 laps but, despite some nail-biting passing attempts, he could not overhaul the Spaniard.
Massa took the chequered flag for the first time in his 67-race career, finishing five seconds ahead of Alonso with Schumacher less than a second further back.
"It is a fantastic day for me," said the 25-year-old Massa, who was attracted to Formula One after delivering pizza to the Interlagos circuit in Brazil.
"When I think about everything I did in my life to get here, I'm very happy and emotional.
"The car was well balanced during the whole race, so I could keep the gap and not drive too aggressively."
Schumacher will rue another lost chance with only four races left to cut the gap on Alonso in the drivers' standings.
To complicate matters further, the 37-year-old is expected to make a statement on his future at the next race in Monza on 10 September.
But in the immediate aftermath in Istanbul he only had praise for this team-mate, saying: "Felipe did a superb job.
"It was a nice fight towards the end. And one of the things that's good about this team it that when one of us can't do it, the other will."
Fisichella's spin on Turn One provided an exciting start
Alonso had mixed feelings after a demanding race in Hungary but was largely satisfied to keep Schumacher at bay for now.
"I'm happy to hold off Michael but not happy because we couldn't win," he said.
"I managed to finish in front of Michael by half a car and there are areas we need to improve before the next race."
Button followed up his maiden win in Hungary with a solid fourth place in Turkey ahead of McLaren's Pedro de la Rosa.
The Honda driver moved up from sixth on the grid to fourth and never faced - or mounted - a serious challenge.
"It was a pretty boring race for me because it was all quite quiet," Button said.
"As a team we did a perfect job this weekend, but we just don't have the pace. It would have been nice to challenge Renault."
Giancarlo Fisichella added some useful points for Renault in the constructors' race as he battled his way up to sixth after a chaotic spin on the opening lap.
Fisichella spun a full 360 degrees out of Turn One to simultaneously open up the field and cause a six-car shunt.
McLaren's Kimi Raikkonen came off worst after he was hit by Scott Speed and retreated to the McLaren pit for repairs.
But the Finn, who won the inaugural Turkish Grand Prix in 2005, was suffering with suspension trouble and ploughed into the tyre wall on his return to the track.
Scot David Coulthard also endured a see-saw race and retired after 55 laps in his Red Bull.
Results from Turkish Grand Prix in Istanbul:
1 Felipe Massa (Bra) Ferrari 1hr 28 minutes 51.082 seconds
2 Fernando Alonso (Spa) Renault + 56.582
3 Michael Schumacher (Ger) Ferrari + 56.682
4 Jenson Button (Gbr) Honda 1:29:03.382
5 Pedro de la Rosa (Spa) McLaren + 36.982
6 Giancarlo Fisichella (Ita) Renault + 37.582
7 Ralf Schumacher (Ger) Toyota + 50.382
8 Rubens Barrichello (Bra) Honda + 51.082
9 Jarno Trulli (Ita) Toyota 1 lap
10 Mark Webber (Aus) Williams 1 lap
11 Christian Klien (Aut) Red Bull 1 lap
12 Robert Kubica (Pol) BMW Sauber 1 lap
13 Scott Speed (USA) Scuderia Toro Rosso 1 lap
14 Nick Heidfeld (Ger) BMW Sauber 2 laps
15 Takuma Sato (Jpn) Super Aguri 17 laps
R David Coulthard (Gbr) Red Bull 55 laps completed
Christijan Albers (Ned) Midland 46 laps
R Nico Rosberg (Ger) Williams 25 laps
R Sakon Yamamoto (Jpn) Super Aguri 23 laps
R Vitantonio Liuzzi (Ita) Scuderia Toro Rosso 12 laps
R Kimi Raikkonen (Fin) McLaren 2 laps completed
R Tiago Monteiro (Por) Midland 0 laps completed