Матарам
In the 9th centuries, Bagelen is part of the history of the ancient Mataram Hindu civilization (See: Medang Kingdom) which was flourished on Kedu Plain. It is estimated that within the period of Rakai Watukara Dyah Balitung, Bagelen had become the capital of the Mataram Hindu Kingdom or that it is the origin of the king as Watukara is a river name in Bagelen.