The theory was first introduced by David Ricardo in the year 1817. Comparative advantage introduces opportunity cost as a factor for analysis in choosing between different options for production.