What book did Alastor 'Mad-Eye' Moody die in?

book 7 : hp and the deathly hallows