Question: What midsize car produced by Mazda since 2002 was was a competitor to the Subaru Legacy?
Sentence (from "Mazda6"): It replaced the long-produced Mazda Capella (616, 626) in 2002.
Relevant evidence: Yes