He was about to give up after being neglected and lying there for more than 15 days