Dallas Owner Mark Cuban is making a donation of $10 million dollars to organizations that promote women in leadership roles and combat domestic violence, according to Adrian Wojnarowski of ESPN. The agreement with the NBA comes after an investigation into workplace misconduct.

The investigation dates back seven months, which included rampant sexual harassment allegations against former team president and CEO Terdema Ussery and two domestic violence incidents involving former team website writer Earl K. Sneed.

According to the Washington Post:

“This investigation has substantiated numerous instances of sexual harassment and other improper workplace conduct within the Mavericks organization over a period spanning almost twenty years,” stated the report announced Wednesday by former Manhattan district attorney Evan Krutoy.

The organizations of donation will be chosen by a board of members including Cuban.

“I want to deal with this issue,” Mark Cuban told Sports Illustrated initially when the original story was published. “I mean, this is, obviously there’s a problem in the Mavericks organization and we’ve got to fix it. That’s it. And we’re going to take every step. It’s not something we tolerate. I don’t want it. It’s not something that’s acceptable.”

In addition, there will also be sanctions mandated by the NBA requiring the Mavericks to make changes on reporting, staffing and policy among other sanctions, according to sources report by Wojnarowski as well — a similar fine to Clippers owner Donald Sterling.