He was treated by a psychiatrist and spent several months in a sanatorium recovering from depression

What is the correctly punctuated version of this sentence?
He was treated by a psychiatrist and spent several months in a sanatorium recovering from depression.