Carock

Carock is a character in Zelda II: Adventure of LInk, where he was a powerful sorcerer whose duty was to guard the Maze Palace. He is capable of generating and controlling magic which he uses against his battle against Link. Once defeated, Link would then be able to place the key into the statue that Carock was protecting, thus completing that dungeon.