Hugh Grant was initially set to play Gilderoy Lockhart, before scheduling conflicts forced him to pull out.