Washington DC, Aug 27: Former couple, Ben Affleck and Jennifer Garner have finally settled their divorce case after three long years. The final settlement will be filed in a court after Affleck completes his rehabilitation session, reported TMZ. The 'Batman vs. Superman' star is undergoing treatment at a rehabilitation centre for his alcohol addiction.

People close to Ben and Jennifer said that the former couple has also reached a property settlement. The duo even agreed to a joint custody of their three children. However, the amount of time that both the stars will get to spend with their children hasn't been decided as yet.