And he spent all this time stuck in the hospital while he was having those procedures, as a result of which, he now can walk.
Passou todo esse tempo preso no hospital enquanto esses procedimentos aconteciam, e, como resultado, ele pode agora andar.