After big money bids for Alexandre Lacazette, Michy Batshuayi and Carlos Bacca were rejected earlier on this summer, Slaven Bilic decided to continue his pursuit for a striker slightly closer to home with Ayew.
The Ghana forward joined the Welsh side on a free transfer last season and made a considerable impact in the Premier League, scoring 12 goals in 34 appearances.
Swansea have reacted quickly to the sale of their star-man, having agreed a club record £15m fee with Atletico Madrid for the signature of Borja Baston.