Just reload the game, it should revert back to legendary
You can get it from a quest
What do you think?