In this task, given a sentence in the Japanese language, your task is to convert it into the English language.

ロブ・スターリー弁護士は、トーマスが過去数カ月を精神医療に費やした病院で彼の弁護団とスタッフに感謝したがっていたと、言った。
Lawyer Rob Stary said Thomas wanted to thank his legal team and staff at a hospital he had spent the past several months in psychiatric care.