Input (grade 10): By 1915, gangrene had set in and her entire right leg was amputated, confining her to a wheelchair for several months.
Output (grade 10): By 1915, gangrene had set in and her entire right leg was amputated, meaning she was in a wheelchair for several months.