Legal teams from South Africa, Canada, and the U.S. are advising on the $6.7 billion purchase of Canadian-based Yamana Gold by South African-headquartered Gold Fields, one of the world’s largest gold mining companies, according to announcements by both parties.

The transaction will create a top-four global gold producer, with the combined company to be headquartered in Johannesburg, according to statements by both companies.