Smoking is the main cause of chronic bronchitis.