Many accounts say that the Holy Roman Emperor, Sigismund, King of Hungary, gave the castle to his loyal general ... who fought against the Ottoman Empire and prevented the Turkish invaders ...