Mark Webber is to quit Formula One at the end of the season to race sports cars for German manufacturer Porsche.

The 36-year-old Australian has decided to end his association with Red Bull and will instead race events such as the Le Mans 24 Hours.

Lotus driver Kimi Raikkonen is favourite to replace Webber at Red Bull after he decided not to remain as team-mate to world champion Sebastian Vettel.

Webber, who had options to move to other F1 teams, could also be replaced by either of Toro Rosso's current drivers, Daniel Ricciardo and Jean-Eric Vergne.

"Porsche has written racing history as a manufacturer and stands for outstanding performance and technology at the highest level," said Webber.

"I'm very much looking forward to this new challenge after my time in Formula 1. I can hardly wait to pilot one of the fastest sports cars in the world."

Having begun his F1 career with Minardi, Webber, 36, went on to compete for Jaguar and Red Bull over the following 12 years, twice finishing third in the driver standings and standing on the podium 36 times.

Webber has seen his relationship with Vettel deteriorate over the five years they have been team-mates. He was furious with Vettel after this year's Malaysian Grand Prix after the German ignored team orders and passed Webber to win.

Although Vettel apologised he later said he would do the same again, leading to Webber to repeat his claims that Vettel was favoured by Red Bull bosses.

The team had said he would be welcome to stay for 2014 but he has decided to move his career in a different direction.