Jon Hamm and Jennifer Westfeldt Split

The couple had been together almost two decades.

"With great sadness, we have decided to separate, after 18 years of love and shared history. We will continue to be supportive of each other in every way possible moving forward," the couple tells People magazine in a joint statement.

Hamm, 44, and Westfeldt, 45, have been together since 1997. They even worked together on a recent film "Friends with Kids."

But earlier this year, rumors about the couple's split had been bubbling to the surface. Nevertheless, Hamm had said how supporting Westfeldt had been earlier this year during his stay in rehab.

A rep for Hamm could not immediately be reached for comment.