GLP1R and diabetes mellitus: Most semaglutide weight-loss prescriptions occurred late in the study period, limiting long-term follow-up data.<h4>Wider implications of the findings</h4>The results are compatible with the hypothesis that diabetes-related factors, rather than GLP-1 receptor agonist exposure itself, may contribute to the increased preterm birth risk.