Ersan Ilyasova is returning to the Bucks after spending two seasons in Spain.

Milwaukee agreed to terms on a three-year, $7 million deal with the forward, according to league sources.

A buyout was reached with Regal FC Barcelona, Ilyasova's Spanish club.

He was a second-round pick for Milwaukee in the 2005 draft.