Live Nation, which owns Ticketmaster, has reached a surprise settlement with the Department of Justice in its antitrust case just one week after the trial began.

The settlement was announced during a court hearing Monday morning. Under the agreement, Live Nation will pay roughly $200m in damages to states that participated in the lawsuit, and Ticketmaster will be required to open parts of its platform to rival ticketing companies, reported Politico.

The agreement also will require Ticketmaster to divest from some of the amphitheaters it owns and cap service fees for its venues at 15% of the ticket price. The agreement also limits long-term exclusivity contracts utilized by Ticketmaster when partnering with venues.

Full terms of the agreement have not been publicly confirmed, and a judge still needs to approve the settlement terms.

I’m so glad my partygoing days were before Ticketmaster put its tax on everything.