In the 14th century, the name "district" was generalized for the forms of territorial organizations of the Romanians, but only few of them, for instance their district in Bereg County (now in Hungary and Ukraine), achieved official recognition. Maramureş, where Romanians were first mentioned in 1326, was the only district that transformed, around 1380, into a county. Louis I of Hungary (1342–1382) issued a royal decree in 1366 which prescribed firm judicial measures against "the malefactors of any nation, especially Romanians".