Attorneys working to recover assets from the biggest Ponzi scheme in history have marked a milestone: a $23 million deal with the estates of Bernie Madoff’s deceased sons.

The money will go to the bilked customers of Madoff’s company, ending years of litigation with the families of his sons, according to a motion filed Monday in Southern District U.S. Bankruptcy Court.