His widow remarried with the head of the Nógrád, István Losonci who acquired the ownership rights of the castle through this marriage.
King Maximilian pawned the Dobrá Voda Castle to the Croat nobleman Ján Choron of Deveč.
As the husband of István Losonci's daughter Anna, who inherited the filial rights after her father's death, he applied his option to the castle.
Another possible function of the structure is that it was part of the palace, which formed with its courtyard a fortified residence independent of the original castle.
Because of the constant threat of Ottoman attacks an extensive lower castle with auxiliary buildings secured with cannon bastions was constructed.
The access road to the upper castle ran through four gates connected by serpentines with straight stretches so that it could always be defended form a higher situated spot.