BMW returned to Formula One in . They made a deal to supply engines to only the Williams team. The engine was a new V10 engine. The engine deal with Williams ended after the season. BMW then bought the rival Sauber team. The BMW Sauber project lasted from until . Sauber, a former privateer team, became more competitive. In , Robert Kubica won the team's only race, the Canadian Grand Prix, with Nick Heidfeld finishing second. After the 2009 season, BMW withdrew from F1. They sold the team back to its founder, Peter Sauber.