Inclusion Criteria:  Newly diagnosed acute myocardial infarction. Diabetes or pre-diabetes. The patient signed informed consent.  Exclusion Criteria:  A clear history of chronic liver disease, or abnormal liver function (ALT/AST>1.5×ULN). There is evidence of active inflammatory myopathy or CK>3×ULN. Being allergic to statins or severe side effects were caused by taking statins(including myolysis). Combined with hypothyroidism, nephrotic syndrome, alcoholism, pancreatitis, lupus erythematosus. All patients who had a clear adverse reaction to the statins. Possibility of pregnancy, pregnant or lactating patients. There may be limited medical history of subjects who may can not complete their treatment during the study period. Undergoing or planning to functional renal transplantation. The life expectancy is no more than half a year. Patients who are taking birth control pills, steroid hormones and imidazole drugs. Patients who have participated in clinical trials of other drugs within 1 month, or known that clinical follow-up or research on drug compliance poorly. Patients are not fit to be tested according to the researchers.