The Mazda RX-7 is a sports car produced by the Japanese automaker Mazda from 1978 to 2002. The original RX-7 featured a 1,146 cc twin-rotor Wankel rotary engine and a front-midship, rear-wheel drive layout. The RX-7 replaced the RX-3 and later replaced all other Mazda rotary-engine cars except the Cosmo. The original RX-7 was a sports car with pop-up headlamps. The compact and lightweight Wankel rotary engine is situated slightly behind the front axle, a configuration marketed by Mazda as "front mid-engine". It was offered as a two-seat coupé, with optional "occasional" rear seats in Japan, Australia, the United States, and other parts of the world. The rear seats were initially marketed as a dealer-installed option for the North American markets. The RX-7 made Car and Driver magazine's Ten Best list five times. 811,634 RX-7s were produced.