Following his death, Charles's envoys arbitrated an agreement on 3 October 1311 between Amadeus' widow, sons and the town, which also prescribed that the Abas should withdraw from two counties and allow the noblemen inhabiting their domains to freely join Charles. This marked end of the Aba province in North-East Hungary. However, the Abas soon entered into an alliance with Matthew Csák, the most powerful oligarch in the realm, against the king. Nonetheless, his sons could not maintain his power, and after their defeat at the Battle of Rozgony (today "Rozhanovce" in Slovakia) his dominion disintegrated. Taking advantage of their downfall, Peter, son of Petenye built up a dominant power in Zemplén County, while some of Amadeus' former castles and possessions were obtained by members of the Drugeth family in the 1320s–1340s.