The Ter is a river in Catalonia, Spain. It rises in the Ulldeter, a glacial cirque in the East Pyrenees, at an approximate elevation of 2,400 metres (7,900 ft). At heights of around 3,000 metres (9,800 ft), the nearby peaks bordering the Ulldeter—the Bastiments, the Gra de Fajol, and the Pic de la Dona—supply its headwaters. The river runs through the comarques of Ripollès, Osona, Selva, Gironès, and Baix Empordà, discharging into the Mediterranean Sea at l'Estartit.