What movie in Pirates of the Caribbean does will die in?

Will died in the third one which is called "At World's End"