A compact executive car is a premium car smaller than an executive car.
 In European classification, compact executive cars are part of the D-segment.
 In North American terms, close equivalents are "compact premium car", "compact luxury car", "entry-level luxury car" and "near-luxury car".
 Compact executive cars are usually available in saloon, estate, coupé, and cabriolet body styles.
The Mercedes-Benz C-Class is a line of compact executive cars produced by Daimler AG.
 Introduced in 1993 as a replacement for the 190 (W201) range, the C-Class was the smallest model in the marque's line-up until the A-Class arrived in 1997.
 The C-Class is built at Mercedes-Benz factories in Sindelfingen and Bremen, Germany as well as numerous satellite factories in other countries.
 The first C-Class (W202) sedan was produced on 1 June 1993, and the first of the second generation (W203) rolled off the assembly line on 18 July 2000.
 The C-Class has been available with a 4Matic (i.e. four-wheel drive) option since 2002.
 The third generation (W204) was launched in 2007.
 The latest generation C-Class (W205) came out in 2014.
From 1991 to 1994, Mercedes-Benz sold a high-performance version of the W124, the Mercedes-Benz 500 E (W124.036).
 The 500 E was created in close cooperation with Porsche; each 500 E was hand-built by Porsche, being transported back and forth between the Mercedes plant and Porsche's Rossle-Bau plant in Zuffenhausen, Germany during assembly — taking a full 18 days to complete each model.
 Design began in 1989 and into 1991.
 Called '500 E' through model year 1993, for model year 1994 it was face-lifted along with the rest of the range and renamed to 'E 500'.
The M111 engine family is a straight-4 automobile engine from Mercedes-Benz, produced from 1992 to 2003.
 Debuted in the 1992 Mercedes-Benz E-Class (W124), this engine family is relatively oversquare and uses 4 valves per cylinder.
 All engines in the family use a cast iron engine block and aluminum alloy cylinder head.
The Mercedes-Benz E-Class (W212 and S212) series represent the fourth-generation of the Mercedes-Benz E-Class range of executive cars, including sedan (W212) and station wagon (S212) configurations.
 Sold from 2009 (as a 2010 model) until 2016, it is the successor to the W211/S211 E-Class models.
 Coupe and convertible models of the E-Class of the same vintage are W204 C-Class derived and known as the C207 and A207.
 A high-performance E63 AMG version of the W212 and S212 are available as well since 2009.
 In 2013 (for the 2014 model year), the W212 was comprehensively facelifted, likely the most expensive mid-life facelift in the history of the automobile.
The Mercedes W123 is a range of executive cars produced by German manufacturer Mercedes-Benz between 1976 and 1985.
The Mercedes-Benz W210 is an executive car which was produced by the German automaker Mercedes-Benz from 1995 through 2002 (production of the wagon variant (codenamed S210) carried over to the 2003 model year).
 They were sold under the E-Class model names in both sedan (saloon) and station wagon body types.
 W210 development started in 1988, three years after the W124's introduction.
 The W210 E-class's appearance, which was designed by Steve Mattin under design chief Bruno Sacco between 1989 and 1991, heralded a new design idiom for Mercedes, which would continue until the W209 CLK.
 W210 design work was frozen in May 1992 and developed for a show vehicle by late 1992.
 This design was previewed on the 1993 Coupé Concept shown at the Geneva Auto Show in March 1993.
 Design patents for both the Coupé Concept and the W210 E-Class were filed on 25 February 1993 in Germany and August 25, 1993 in the US.
The Mercedes-Benz E-Class (W213 and S213) series represent the fifth-generation of the Mercedes-Benz E-Class range of executive cars, including sedan (W213) and station wagon (S213) configurations.
 Sold from 2016 (as a 2017 model), it is the successor to the W212/S212 E-Class models.
 A high-performance Mercedes-AMG E63 version of the W213 and S213 has been available as well from 2016 (as a 2017 model).
W124 is the Mercedes-Benz internal chassis-designation for the 1984 to 1995/96 version of the Mercedes-Benz E-Class, as well as the first generation to be officially referred to as E-Class.
 The W124 models replaced the W123 models after 1984 and were succeeded by the W210 E-Class after 1995.
The Mercedes-Benz E-Class is a range of executive cars manufactured by German automaker Mercedes-Benz in various engine and body configurations produced since 1993, marketed worldwide across five generations.

Question: Mercedes-Benz W124 replaced which model of executive cars?
Answer: Mercedes W123