MONACO — Sebastian Vettel beat his Ferrari teammate Kimi Raikkonen to win the Monaco Grand Prix on Sunday and comfortably extend his lead at the top of the standings to 25 points.

It was the four-time F1 champion's third win of the season and 45th of his career, as well as Ferrari's first in Monaco since Michael Schumacher — Vettel's childhood idol — in 2001.

"Unbelievable. It was a very tense race," Vettel said. "It's very, very special to win here. We're going to have a very fun night."

Red Bull's Daniel Ricciardo finished third, ahead of Mercedes driver Valtteri Bottas.

It was a bad weekend for Mercedes, with Lewis Hamilton — who is second behind Vettel in the standings — finishing seventh after starting from 13th following a poor qualifying session.

Vettel let out a whoop of delight and thanked his team in Italian after crossing the finish line with bright sunshine gleaming off the famed red of Ferrari. As the German national anthem played, Vettel stood atop the podium with his eyes closed as he sang along.

"Monaco's always something special, a lot of attention, a lot of people, a lot of support," he said. "With the season we've had, the Ferrari fans and the Ferrari flags are increasing."

Some change from last year when Vettel didn't win a race.

"We had a lot of hard times this year, but this year it seems to be upside down (the other way around). We must make sure we keep the momentum up in the next couple of races," Vettel said. "When you see the guys singing the national anthem it's impossible not to get goosebumps."

Red Bull's Max Verstappen was fifth, ahead of Spanish driver Carlos Sainz Jr.

Montreal's Lance Stroll continued to struggle in his inaugural F1 season. The 18-year-old Williams driver retired for the fourth time in six races.

Raikkonen started from pole position for the first time in nine years, with Vettel joining him on the front row.

Both made a clean start, with Vettel holding off Bottas heading into the first corner.

After Raikkonen and Bottas had come in for a tire change a few laps earlier, Vettel changed halfway through the 78-lap race.

When he came back out, Vettel was in front of Raikkonen while Ricciardo — second here last year — had jumped ahead of Bottas.

It seemed to be a case of the Ferrari team giving preferential treatment to Vettel, because it looked like Raikkonen came in too early.

"I got the bad end of the story today," Raikkonen said. "It's still second place but it doesn't count a lot in my books at least."

Vettel sympathized.

"I came out ahead of Kimi and I was surprised myself, but I'll take it," Vettel said. "''We get along well and I can understand Kimi's not totally happy today. I can understand why he's upset. Obviously it's a bad surprise when somebody comes out ahead."

Whatever the strategy was, Ferrari will not mind after securing maximum points and seeing Mercedes fail to make the podium.

"Something we've been waiting for a long time has finally come to pass, a race which will be part of our history," Ferrari chairman Sergio Marchionne said. "Not only a victory, but a one-two finish at a Grand Prix with a tradition as glorious as Monaco, where Ferrari last won with another one-two, delivered on that occasion by Schumacher and (Rubens) Barrichello. Today it was a really exciting race."

Not for everyone.

The race was held up for a few laps near the end after German driver Pascal Wehrlein crashed near the tunnel.

British driver Jenson Button — back for one race only — appeared to cause the clash, edging his McLaren too close to Wehrlein's Sauber as they turned toward the tunnel entry.

The nose of Button's car flipped Wehrlein's car onto its side and up against the barrier. The German driver appeared unharmed and jumped out moments later.

With the drivers trundling behind the safety car, tire temperatures dropped dramatically and some could not cope. Marcus Ericsson crashed his Sauber and McLaren's Stoffel Vandoorne imitated him moments later.

Then, after the safety car came out again briefly with a handful of laps to go, Russian Daniil Kvyat became the latest to lose control of his car in a frantic finish.

Ricciardo also struggled heading into the treacherous turn 1.

"These tires, when you get a safety car, are like driving on ice. They turn to concrete blocks, they're so slippery," Ricciardo said. "I just managed to hold on. I was quite happy to see the checkered flag."