In 1436, Sigismund Kestutaitis granted Alanta to Kristinas Astikas to commend him for his aid in defeating Švitrigaila in the Lithuanian Civil War (1431–1435). In the 16th century, the town's Catholic church was built, and in 1581 the Grand Duke of Lithuania Stefan Batory gifted Alanta to Gáspár Békés (), a Hungarian general. After 1598 the town belonged to Radziwiłł family and from 1828 until the World War I it belonged to the Pamarnacki family. From the 18th century to the Lithuanian revolt in 1863 Alanta had a parish school.