Casey Affleck and Summer Phoenix have finalized their divorce.

On Friday a judge signed off the papers, according to People. The actor, whose brother is Batman star Ben Affleck, has to pay his ex spousal and child support, after he initially refused, according to court documents.

The couple, who were married for over 10 years, had a prenuptial agreement.

Done: Casey Affleck and Summer Phoenix have finalized their divorce. On Friday a judge signed off the papers, according to People; here they are seen in 2013

Just days after Summer officially filed for divorce in August, Casey responded to her filing, it has been revealed that the pair - who split up in March 2016 after 10 years together - have already come to a financial agreement.

TMZ reported last month that although Casey's documents included a request to deny Summer spousal support, he will pay her the money under their agreement.

The documents show that Summer cited 'irreconcilable differences' as the reason for the split.

She asked for joint legal and physical custody of their children, Indiana, 13, and Atticus, nine.

Casey's response to the filing included the same details.

Sad end: The documents show that Summer cited 'irreconcilable differences' as the reason for the split. She asked for joint legal and physical custody of their children, Indiana, 13, and Atticus, nine. Seen in 2013

The pair tied the knot back in 2006, having met in 1995 through Summer's brother Joaquin Phoenix, who was working with Casey on To Die For.

They got engaged in 2003.

When the pair split last year, they issued a joint statement to insist they had 'amicably' gone their separate ways.

Their spokesperson confirmed: 'Casey and Summer have amicably separated. They remain very close friends.'

New love: This year he has been seen with Floriana Lima; here they are pictured in June

And a source added at the time: 'She was having a lot of trust issues. They went to therapy but they just couldn't recover.'

This year he has been seen with Floriana Lima, even taking her to the Academy Awards where he won an Oscar for Best Actor.

Meanwhile, his brother Ben Affleck is still in the process of divorcing Jennifer Garner.

They both want joint legal and physical custody of their three kids Violet, Seraphina and Samuel. As for spousal support, they left it open, so the judge could award it before the divorce becomes final, according to TMZ.

They do not list a date of separation, but in June 2015 they announced their separation.