他晚年退隐山林,皈依佛教。
In his later years he retired from public life , converted to Buddhism and became a hermit .