The logo of Exxon Mobil Corporation is shown on a monitor above the floor of the New York Stock Exchange in New York, New York, U.S. December 30, 2015. REUTERS/Lucas Jackson/File Photo

Exxon Mobil took six blocks in consortia with state-controlled oil giant Petroleo Brasileiro in the promising offshore Campos basin, after bidding 2.24 billion reais for one block. That was Brazil’s highest-ever such bid.

The U.S. company prior to the auction was among the few oil majors without a presence in the exploration of the recently discovered large offshore fields in Brazil.

Exxon Mobil also bought two blocks that it will operate on its own in the Campos basin, which abuts Brazil’s pre-salt area where hydrocarbons are trapped under a layer of salt below the ocean floor.

It won a further two blocks in the Sergipe-Alagoas basin that it will develop with Queiroz Galvão Exploração e Produção (QGEP) and Murphy Oil Corp.

The results came as a surprise after Brazil’s oil regulator ANP managed to sell just one of 76 blocks on offer in the highly productive Santos basin by late morning.

Analysts had said lackluster oil price performance and dwindling cash for investments might have dented appetite.

But Exxon Mobil, which also made a record bid of 1.2 billion reais with Petrobras for a Campos block on Wednesday, helped Brazil achieve the record take.

Exxon said in a statement that it was looking forward to working with the Brazilian government and other partners in operating the blocks they won.Asked after the auction why he spent so much on the bids, Petrobras CEO Pedro Parente said he had information suggesting the blocks were part of the pre-salt area, one of the world’s largest oil discoveries in recent decades.

The auction was seen as a test of whether market-friendly reforms under President Michel Temer could tempt investors back to a sector struggling after years of state meddling and tarnished by a corruption scandal at Petrobras.

In the last round, in December 2015, ANP raised just 121 million reais, as tough local content rules under Temer’s predecessor Dilma Rousseff discouraged major foreign companies from investing.

Brazil on Wednesday sold just 37 of the areas on offer. Still, the country raised well over the 1.69 billion reais ($529.85 million) it expected had it placed all 287 onshore and offshore exploration blocks.

Officials had said they expected to sell up to 40 percent of the blocks.

Environmental activists protested the auction and threatened to invade the Rio de Janeiro hotel where the round was taking place. They were removed after scuffling with hotel security staff.

Other winners included China’s CNOOC and Spain’s Repsol which took offshore blocks in the Espírito Santo basin with signing bonuses for 23.55 million reais ($7.38 million) and 23 million reais respectively.

The auction was Brazil’s 14th round for blocks outside of the coveted pre-salt area and should gauge appetite for the country’s second and third pre-salt rounds next month.

Additional reporting by Pedro Fonseca in Rio, Marcelo Texiera in Sao Paulo and Ernest Scheyder in Houston, Writing by Alexandra Alper and Guillermo Parra-Bernal; Editing by David Gregorio and Cynthia Osterman