The Ferrari F40 (Type F120) is a mid-engine, rear-wheel drive sports car engineered by Nicola Materazzi with styling by Pininfarina. It was built from 1987 until 1993, with the LM, Competizione and GTE race car versions continuing production from 1994 to 1996 respectively.