Original: Bryan Singer, the director of the first two X-Men films, left the project during preproduction in order to direct the film Superman Returns.
Simplified: He took over when Bryan Singer decided to direct Superman Returns. Bryan Singer, the director of the first two X-Men movies left early in the production of the movie to direct the movie Superman Returns.