SAO PAULO, July 3 (Reuters) - Eike Batista, the former mining and oil magnate who was once Brazil’s richest man, was convicted and sentenced to 30 years in prison for bribing Rio de Janeiro state’s disgraced ex-governor, according to a court document published on Tuesday.

Batista’s conviction and sentencing by federal judge Marcelo Bretas are the latest in a wave of graft investigations that have sent scores of powerful businessmen and politicians to jail.

The eccentric former billionaire’s meteoric rise and fall mirrored the recent fortunes of Brazil, where the commodities boom faded as his energy, mineral and logistics empire fell apart earlier this decade.

His swashbuckling attitude and confident forecasts of a prolonged golden era for Brazil evaporated just as Latin America’s largest economy suffered its worst recession on record.

Batista, whose legal team said he would appeal, was found guilty of paying a $16.5 million bribe to former Rio governor Sergio Cabral, who also was found guilty in the case.

Batista’s companies won state contracts in exchange for the bribe, including one awarding his consortium the rights to run Brazil’s temple of soccer, the Maracana in Rio, the stadium where the 2014 World Cup final was played and the 2016 Olympic Games’ opening and closing ceremonies were held.

The bribes were also linked to the construction of the $3.7 billion Açu port facility, controlled since 2013 by Prumo Logistica, which is majority owned by U.S.-based EIG Energy Partners.

Prosecutors said Batista paid a quarter of the bribes to Cabral in cash and the rest in shares of state-led oil company Petroleo Brasileiro SA, miner Vale SA and drinks company Ambev SA, a unit of Anheuser Busch Inbev NV.

Batista was last year fined 21 million reais ($5.4 million) for trading shares based on insider information about shipbuilding company OSX Brasil.

Tuesday’s ruling was the sixth corruption conviction for Cabral, who has been sentenced to over 120 years.

Six years ago, Batista, 61, had a net worth exceeding $30 billion and ranked among the world’s 10 richest people, according to Forbes magazine, and he had declared he would soon top the list.

He sat atop EBX, then one of the world’s most expansive industrial conglomerates, with units ranging from oil and shipping to entertainment and beauty care.

However, Batista made massive bets on offshore oil plays that did not pan out and the extension of a commodity boom that fizzled as he inflated investors’ hopes. ($1 = 3.8896 Brazilian reais) (Reporting by Brad Brooks Additional reporting by Ricardo Brito in Brasilia Editing by Bill Trott)