Hamilton lost another place on Lap 2 when Max Verstappen barged past at the end of the main straight, with the pair making contact. With the VSC on track, Verstappen managed to crawl back into the pits.
Red Bull's troubles were doubled as Daniel Ricciardo, who was running fourth and was tipped to push the Ferraris in terms of race pace, parked his RB14 on the side of the track with a gearbox failure. He pulled over on the side of the track because of an electrical failure, prompting the safety auto to come out.
'Unfortunately he got hurt but my job is to go when the light goes green. The pair touched, with Gasly managing to retain position. It was more consistent on one lap but also in the race.
Vettel's Ferrari team decided against bringing the German in for a second pit stop, consequently leaving Vettel to deal with his soft tyres for the remaining 10 laps of the event. Although the German driver looked steady behind the wheel, his mind was racing nearly as fast as Bottas' Mercedes behind him.
To set the milestone, Vettel, 30, had to fend off a late fierce attack from Mercedes' Finnish driver - Valtteri Bottas - who had to settle for the second spot.
The Finn's thrilling battle against Sebastian Vettel in the final stages of the event saw the Mercedes driver snapping at the heels of the leader as he made the most of his medium tyres against the Ferrari's worn out soft rubber.
Starting from second place, Kimi Raikkonen looked blazingly fast all weekend, having narrowly missed out on pole himself. We changed the tyres, I was taking it kind of easy and still catching up, it was going OK.
After the race Ferrari began investigating why its automated system told Raikkonen the pitstop was finished and he could leave. The mechanic was taken to hospital to treat a broken leg soon after. I tried to keep it as clean as possible.
Raikkonen, who was pitting for a second time, was not at fault for the collision. "Our plan worked but just, Bottas had a bit of a sniff but ran out of laps", he said. A mistake at Turn 1 allowed Bottas to further close, setting the stage for a grandstand finish. The Finn tried tailing through the middle sectors, but was unable to get another chance to pass.
The result means Vettel leads the championship on 50 points, 17 ahead of Hamilton and 28 ahead of Bottas.
Here are the best pictures of the action from the Bahrain Grand Prix.
The former champions are now the only team yet to score points this season after Force India's Esteban Ocon secured 10th place.