The great monastery of Somapura Mahavihara was built in the late 8th century by Dharmapala, the second king of the Pala dynasty, which ruled Bengal and Bihar and supported Buddhist learning. For about four centuries it was a major centre of study, linked with Nalanda and Vikramashila, and the scholar Atisha Dipankara is said to have been associated with it.
Its plan influenced Buddhist architecture as far away as Southeast Asia. A huge square of monks' cells — more than 170 — surrounds a courtyard with a tall, cross-shaped temple in the middle, rising in terraces decorated with long rows of terracotta plaques of people, animals and gods. The monastery declined after the 12th century and was covered by earth, which local people called pahar (hill) — hence the name.
It was excavated in the 20th century and inscribed as a UNESCO World Heritage Site in 1985, the "Ruins of the Buddhist Vihara at Paharpur".