When did Alastor 'Mad-Eye' Moody die?

In Harry Potter and the Deathly Hallows.