According to the Gesta Hungarorum the territory was ruled by a legendary ruler Menumorut – having its citadel centered at Bihar – at the end of the 9th and beginning of the 10th centuries, until the Hungarian land-taking.