Harry Potter after the war became the Master Of Death,but through this he finds the deception of his so called friends and even the whole of wizarding Britain turns on him calling him a Dark feeling tired of the world he asks Death to take him away from this world.Thus he ends up in the Twilight world