All-cause mortality, sepsis- and infection-related mortality, and mortality related to major adverse cardiovascular and cerebrovascular events were compared between patients treated with GLP-1 receptor agonists and patients treated with DPP-4 inhibitors. Here, DPP4 is linked to infection.