A trio of Spanish firms have taken roles on one of the largest ever corporate deals in Portugal – Telefonica's €7.5bn (£6.3bn) buyout of Portugal Telecom's (PT's) 50% stake in Brazilian mobile operator Vivo.

Cuatrecasas Goncalves Pereira advised Telefonica on the Portuguese side, while Uria Menendez advised Telefonica on Spanish law and Garrigues acted for PT.

Cuatrecasas finance and capital markets head Maria Joao Ricou said: "The deal involved complex legal issues, considering not only the size and implications of the deal but also the variety of listings.

"Vivo is a listed Brazilian company, while the joint venture between Telefonica and PT is a Dutch company. PT itself is a Portuguese company listed on Euronext Lisbon and in New York, and Telefonica is listed in Spain as well as in New York and London."

The Portuguese Government, which held a significant share in PT, initially blocked the sale in June, citing national interest despite the majority of shareholders voting in its favour. However, on 8 July the European Court of Justice rejected the Government's right to block the deal.

Click here for more international news, comment and analysis