For the second time in as many races, Repsol Honda's Dani Pedrosa suffered last lap disappointment.
At Jerez, he lost a home victory to countryman Jorge Lorenzo, while at Le Mans on Sunday he lost a podium finish.
Pedrosa held third from the end of lap 1 until the 28th and final lap, when team-mate Andrea Dovizioso went inside at the first chicane.
To make matters worse, Pedrosa - who was uncharacteristically running wide in the closing stages - then lost fourth place to former team-mate Nicky Hayden with just a few corners to go.
It was far from the kind of result he had hoped for in his 150th grand prix start.
"Well of course I'm not satisfied to have finished in this way because we were able to stay near the leaders for the first part of the race and then dropped back,” said the Spaniard. “Losing two places on the final lap is not a good feeling.
“My start was ok and I could stay near the front in the first laps but later in the race I was making a lot of mistakes trying to maintain my pace. I had a bit of a rear brake issue which meant I couldn't get the bike into the turns as I wanted and I was fighting the bike a bit.
“Andrea rode well and pushed very hard at the end, so congratulations to him on the podium finish. It's an important part of the season coming up with many races in a short time, so we must work hard and do better in Mugello,” Pedrosa added.