Barcelona has finalized a €30 million ($33.4 million) transfer with Valencia for Paco Alcacer. 

The deal was negotiated over three tense weeks and includes add-ons.

Alcacer will be Barcelona's fourth attacking option behind Lionel Messi, Luis Suarez and Neymar. Barcelona lost out on Nolito and Kevin Gameiro earlier in the summer.

Alcacer had been with Valencia since 2005 but he'll join Barcelona on a five-year deal.