Sentence 1:While recovering from that experience , but still weak , a doctor mistakenly prescribed a drug containing penicillin , to which Nye was known to be allergic . Sentence 2:As a result , he died on July 17 , 1971 , at the age of 78 .