The STAMPEDE trial involved 150 patients with obesity and poorly controlled diabetes. The patients were divided into three groups of 50: those who received intensive medical therapy of their diabetes, those who received intensive medical therapy plus gastric bypass surgery, and those who received intensive medical therapy plus sleeve gastrectomy.