['The prevalence of diabetes mellitus (DM) and chronic kidney disease (CKD) is rapidly increasing. Both comorbidities are considered significant risk factors for cardiovascular complications. The aim of the study was to evaluate the impact of DM with and without CKD on prognosis in patients with acute myocardial infarction (AMI) treated invasively.', 'This single-center prospective study encompassed 3334 AMI-patients without cardiogenic shock, who were divided into 2 major groups: 999 patients with type 2 DM diagnosed prior to or during index hospitalization, and 2335 non-diabetics. All diabetic patients were divided with respect to their renal status into: diabetics with CKD (DM-CKD; n=264) and without (DM-nCKD; n=735). Short- and long-term outcomes were compared between study groups. Independent predictors of death and composite end-point were selected with multivariate Cox-regression model.', 'Mortality rates were significantly higher in DM group compared to nDM in all observation periods. DM-CKD was associated with excessive total mortality (35.6%) when compared to DM-nCKD (11.6%, P<0.001) and to nDM (9.8%, P<0.001). Mortality and major adverse cardiovascular event rates did not differ significantly between DM-nCKD and nDM groups. Diabetes coexisting with CKD was one of the strongest independent risk factors for death (hazard ratio 1.93; confidence interval 1.79-2.07; P<0.001).'] Is prognosis in diabetic patients with acute myocardial infarction treated invasively related to renal function?