in the beginning of his imprisonment , when weeks of torture and deprivation drove him to the brink of madness , it was alexandra he focused on to escape the pain that racked his body and tried to devour his mind .