Jack Dorsey’s mobile payments company, Square, will pay $297m in stock and cash for a “significant majority” of Jay-Z’s Tidal streaming service.

Square Hardware Lead Jesse Dorogusker will be overseeing Tidal on an interim basis. The company will offer financial tools to Tidal artists to help them collect revenue and manage their finances.

Jay-Z and the other artist shareholders—Beyoncé, Madonna, Rihanna, etc.—will still own their portions of the company, which will become an independent unit within Square.

Jay-Z tweeted his thoughts on the deal, writing “I said from the beginning that TIDAL was about more than just streaming music, and six years later, it has remained a platform that supports artists at every point in their careers. Artists deserve better tools to assist them in their creative journey. This partnership will be a game-changer for many.”

Jay-Z will get a seat on the Square board. Square is acquiring most of the shares of Tidal Jay-Z purchased from T-Mobile earlier this week—T-Mobile had acquired the shares in its takeover of Sprint, which bought 33% of Tidal back in 2017.