 It was here that the decision was made to have Nyíregyháza as the county seat of Szabolcs County.A charter of 1466 names Mohos as the neighbouring settlement of Apagy, and at that time it was owned by the Várday family.At the start of the 15th century, the Kemecsey family became the owners.