After spending two seasons with Real Madrid, perhaps the best team in the world outside of the NBA, center Salah Mejri has agreed to a contract with the Mavericks.

The 7′ 1″, 245 pound 29-year-old is the first Tunisian player in the NBA and was the first Arabic player in general to play in the Spanish ACB League, widely considered the second-best basketball league on the planet. He averaged 4.3 points and 2.1 rebounds last season with Real Madrid, including 5.0 points and 2.5 rebounds in eight Euroleague games. He and his club won the “triple crown” of European basketball last season, winning the domestic league, the domestic cup, and the Euroleague all in the same season. It’s just the 22nd time that’s happened in 50 years.

Mejri’s experience in Madrid could very well set him up for success in the NBA. Playing behind more established veterans like Felipe Reyes and Gustavo Ayon, Mejri’s playing time was limited to 9.2 minutes per game. But the Spanish League, like many others in Europe, favors giving playing time to seasoned players, particularly at the top clubs, which typically roll out loaded rosters. For example, Mario Hezonja, one of the best international prospects in recent memory, averaged just 14.2 minutes per game last season with Barcelona, Mejri and Madrid’s top rival in Spain.