Ivan Rakitic has officially joined Barcelona on a transfer from Sevilla.

Rakitic's contract with Sevilla was set to expire next summer. The 26-year-old midfielder had 12 goals and 12 assists in La Liga last season.

Rakitic is currently playing for Croatia in the World Cup.

"FC Barcelona and Sevilla FC have reached an agreement for the transfer of Ivan Rakitic," a club statement read. "Ivan Rakitic will sign a contract with FC Barcelona for the next five seasons. Both clubs have also agreed for Denis Suárez to be loaned to the Andalusian club for the next two seasons."