Maesteg is a town and community in Bridgend County Borough, Wales. Maesteg lies at the northernmost end of the Llynfi Valley, close to the border with Neath Port Talbot. Historically a part of Glamorgan, the growth of the town started with the opening of ironworks in the 1820s, and 1830s. Once a coal mining area, the last pit closed in 1985. With the decline of the coal industry and, more recently, the closure of one large factory producing cosmetics and another manufacturing vehicle components, the valley has become a residential/dormitory area for the Port Talbot, Bridgend and Cardiff journey to work areas. It is one of the few areas of Wales where the traditional Mari Lwyd is still celebrated during Christmas.