`` defeat forged the image of a dead and powerless nation and encouraged a profound pessimism , but there was also a sense of relief from the impossible task of keeping the empire , '' spanish historian santos julia said in an interview .