As a Hungarian free royal town, Kassa reinforced the king's troops in the crucial moment of the bloody Battle of Rozgony in 1312 against the strong aristocratic "Palatine Amadé" Aba (family). In 1347, it became the second-place city in the hierarchy of the Hungarian free royal towns with the same rights as the capital Buda. In 1369, it received its own coat of arms from Louis I of Hungary. The Diet convened by Louis I in Kassa decided that women could inherit the Hungarian throne.