Two-time MotoGP world champion Jorge Lorenzo admitted he "came very close" to leaving Yamaha before renewing his deal with the Japanese squad.
The Spanish rider, world champion in 2010 and 2012, was linked with a move to Ducati before he extended his contract with Yamaha last year.
Lorenzo, who has only raced for Yamaha in MotoGP, has a deal with the team until the end of the 2016 season.
But the 28-year-old says it would be his dream to end his career at the Japanese squad.
"When I renewed with Yamaha I had other options and I came very close to switching teams," Lorenzo told Italy's Sky Sport.
"This is the truth.
"You always have curiosity about how you could do with another bike, but for now my desire to compete with the same bike and the same team outweighs this.
"My dream is to finish my career with Yamaha."
Lorenzo is currently second in the championship, having won four of the last five races.