This was primarily accomplished through the actions of the MPAA, which started to take smoking into consideration when rating movies in 2007.
The depiction of smoking in American films has changed drastically in recent years.
While there are classic for all ages filled with characters lighting up a cigarette or cigar, pressures extending from public heath concerns and accusations of glamorizing the practice have forced Hollywood to change its ways in the last decade.