Continuous use of GLP-1 receptor agonists in adults with type 2 diabetes was associated with a lower risk of major cardiovascular events compared with sulfonylureas, with benefits increasing over time. Discontinuation or interruption was associated with a progressive loss of this protective effect, with risks approaching those of comparator therapy.