From high school I remember a story about a child orphaned and found by a wizard who takes and raises him. The wizard slept with the child till he became older.
The child later on goes out finds a sword in the hands of a skeleton sitting on a throne. He is unable to wield the weapon and is taken by a prince. In the end he fights an evil lord and he takes the blade back, killing the evil lord. The blade is on fire.
Forgive me but my memory is off in some ways.