Jul 17, 2009 4:38 PM EST

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.

Via Milwaukee Journal-Sentinel