By the 14th century most of the area was owned by oligarchs. To straighten his rule Charles Robert waged war against them. Palatine Amadé Aba (Genus Aba) was "de facto" ruler of Northern Hungary. Charles Robert betrayed and defeated Amadé in the Battle of Rozgony in 1312, and also gained power over Northern Hungary.