AC Milan have completed a $40 million transfer for Flamengo midfielder Lucas Paqueta.

The 21-year-old Paqueta scored 10 goals in 32 matches last season.

Paqueta has signed a five-year deal with the Italian club.