The BMW E26 M1 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 is the first mid-engined BMW to be mass-produced, the second is the BMW i8. It employs a twin-cam M88/1 3.5 L six-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 has six separate throttle bodies, four valves per cylinder and produces 277 PS (204 kW; 273 hp) in the street version, giving a top speed of 260 km/h (162 mph). Turbocharged racing versions are capable of producing around 850 hp (634 kW).