Audi's head of motorsport Dr Wolfgang Ullrich says the German manufacturer plans to leave the FIA World Endurance Championship on a high in Bahrain and hopes to provide a legacy similar to its iconic rallying programme from the 1980s.

Last month Audi confirmed it would be leaving WEC and Le Mans at the end of 2016 as part of parent company Volkswagen's scaling back its motorsport efforts twinned with Audi's increase in involvement in Formula E.

With the iconic four ring brand withdrawing its full LMP1 effort after the 2016 season finale in Bahrain, Ullrich is hoping for a last triumph before retiring its R18 e-tron quattro.

"The event in Bahrain will no doubt be a very emotional farewell for all of us," Ullrich said. "What this program means to the brand is hard to express in words. To this day, the various rally models of the Audi quattro, with which everything began in 1981, have kept a special place in the hearts of the audience.

"I am sure that the sports cars, which are esteemed by a worldwide fan community, are going to continue to define the historic image of our brand for a long time."

Audi, which switched to LMP sportscar racing in 1999, has claimed nine American Le Mans Series titles, three various European Le Mans Series titles plus two drivers' and manufacturers' crowns in WEC, while also storming to 13 Le Mans 24 Hours in that time.

Audi is already out of contention for any world title honours in 2016 but will aim to finish on a high after only securing one victory to its name so far this season in the 6 Hours of Spa.