Background: Glucagon-like peptide-1 receptor agonist-based therapies (GLP) have recently emerged as promising treatments across a wide range of health conditions. These medications may have protective effects against severe long-term consequences of COVID-19 by promoting weight loss, exerting antihyperglycemic and anti-inflammatory effects, and providing cardiovascular and endothelial protection. Methods: We evaluated electronic health record data from a retrospective cohort of individuals in the National Clinical Cohort Collaborative. We included individuals with type 2 diabetes mellitus and comorbid COVID-19 who were prescribed either GLP (treatment) or a sodium-glucose co-transporter 2 inhibitor (SGLT2i) and subsequently developed acute COVID-19 between October 1, 2021, and April 1, 2023. We compared the 12-month cumulative incidence of mortality and Long COVID (Long COVID diagnosis and probable Long COVID via computational phenotype) between groups. We applied targeted maximum likelihood estimation to compare outcome risks by exposure status, controlling for covariates of interest. Results: We analyzed data from 14,215 individuals with COVID-19 and comorbid type 2 diabetes (mean age, 60 years; mean BMI, 37). Compared to SGLT2i, a prescription for GLP medication was associated with a lower risk of mortality (adjusted risk ratio [aRR] 0.71; 95% CI 0.53, 0.95), but not Long COVID diagnosis (aRR 1.01; 95% CI 0.80, 1.27) or probable Long COVID (aRR 0.94; 95% CI 0.88, 1.01). Conclusions: We found that among individuals with type 2 diabetes and comorbid COVID-19, a prescription for GLP vs. SGLT2i medications was associated with a lower risk of mortality, but not Long COVID.