agnesi spent all her money on this charitable work and she died in total poverty in the poorhouse of which she had been the director.

Make this proper case
Agnesi spent all her money on this charitable work and she died in total poverty in the poorhouse of which she had been the director.