 It is one of the oldest towns in East Lothian, and built on a gentle slope, about above sea level.The population of the town is approximately 12,582, an increase of over 4,000 since 2001, making it the second most populated town in East Lothian after Musselburgh.Tranent was formerly a major mining town, but now serves as a commuter town for Edinburgh.