"Anna and I are sad to announce we are legally separating," Pratt wrote. "We tried hard for a long time, and we're really disappointed."

Here's the text from the full Facebook post:

Anna and I are sad to announce we are legally separating. We tried hard for a long time, and we're really disappointed. Our son has two parents who love him very much and for his sake we want to keep this situation as private as possible moving forward. We still have love for each other, will always cherish our time together and continue to have the deepest respect for one another.

Chris Pratt and Anna Faris

The cover image on Pratt's Facebook page was also changed shortly after the announcement went up. It went from showing a photo of him and Faris kissing to a more solemn sunset without context.

Faris and Pratt met in 2007 while filming "Take Me Home Tonight" where the actress played his love interest. The two married in 2009. Their son Jack was born in 2012.

Anna Faris and Chris Pratt in June 2009.
Michael Buckner/Getty Images

The two have busy Hollywood schedules. Pratt recently starred in "Guardians of the Galaxy Vol. 2" and has "Jurassic World" and "Avengers: Infinity War" out next year. Faris stars on CBS' TV series "Mom" and recently voiced a character in "The Emoji Movie."