The BMW M1 (E26) is a sports car produced by German automaker BMW from 1978 to 1981. In the late 1970s, Italian manufacturer Lamborghini entered into an agreement with BMW to build a production racing car in sufficient quantity for homologation, but conflicts arose that prompted BMW to produce the car themselves. The result was sold to the public, from 1978 to 1981, as the BMW M1. It was the only mid-engined BMW to be mass-produced. It employed a twin-cam M88/1 3.5 L 6-cylinder petrol engine with Kugelfischer mechanical fuel injection. A version of this motor was later used in the South African version of the BMW 745i, of which 209 examples were built between 1984 and 1986, as well as the E24 BMW M6/M635CSi and E28 BMW M5. The engine had six separate throttle bodies, four valves per cylinder and produced 277 PS (204 kW; 273 hp) in the street version, giving a top speed of 260 km/h (162 mph). Turbocharged racing versions were capable of producing around 850 hp (634 kW).