Generate a question which can yield the answer mentioned in the input. Generated question must be answered by the answer provided in input, without using any extra knowledge.
Q: Context : However, the legislation did not came into effect until August 1838, and Thomas Pringle was unable to witness this moment; he had died from tuberculosis in December 1834 at the age of 45.
Answer : tuberculosis
A:
What disease was a factor in the death of Thomas Pringle?