The child support drama is over between Britney Spears and ex-husband Kevin Federline.

The pair has reached a settlement after a long and public battle over money.

According to The Blast, Spears, 36, has agreed to fork over several thousand more dollars each month in child support for the couple’s two sons, Jayden and Sean.

The conditions and terms of the agreement are not yet known.

Spears and Federline’s battle has been raging since February. In August, Spears was ordered to pay Federline $110,000. A huge chunk of that went toward the former dancer’s legal fees and the remaining amount was signed over to the Benchmark Resolution Group.

The “Toxic” singer had been paying Federline, 40, $20,000 a month in child support as well as paying for the kids’ school fees, clothing and other activities.

At the onset of their legal battle, Federline wanted Spears to pay him roughly $60,000. Her team offered him an additional $10,000 each month, but he wouldn’t agree to it.

As for Federline, he claims he can’t land dance gigs because of his age.

In addition to Jayden and Sean, Federline has four other children.

A request for comment from Spears’ rep wasn’t immediately returned.

This article originally appeared on Page Six