Until the 1950s, Janakpur was a cluster of rural hamlets inhabited by farmers, artisans, priests and clerks who worked for the monasteries that controlled the land.
Gautama Buddha, the founder of Buddhism, and Vardhamana Mahavira, the 24th and final Tirthankara of the Jain religion, are said to have lived in Janakpur.