After unhappy years together, he divorced her.

Literal

Unhappy years [object-を] spent after [at-で] he [topic-は] her [with-と] divorced.

不幸な年月を送った = 'spent unhappy years.' 離婚した = 'divorced.' 後で = 'after.'