According to a Wikipedia - The M1 coupe was hand-built between 1978 - 1981 under the Motorsport division of BMW as a homologation special for sports car racing. The body was designed by Giugiaro of Italdesign, taking inspiration from the 1972 BMW Turbo show car.