Between 1392–1395, a fortress was built here, surrounded by a network of canals, making it difficult to conquer. In 1395, brothers Miklós and György Csáky gave the fortress to King Sigismund of Luxembourg in exchange for property in Transylvania. Miklós even became voivode of Transylvania, and his son Ulászló baptized Matthias Corvinus, the future king of Hungary.
Between 1392–1395, a fortified location was established here, surrounded by a network of waterways, making it difficult to capture. In 1395, brothers Miklós and György Csáky gave the stronghold to King Sigismund of Luxembourg in exchange for territory in Transylvania. Miklós even became the governor of Transylvania, and his son Ulászló baptized Matthias Corvinus, who would become the king of Hungary.