MADRID (AP) — Spanish energy company Repsol says new oil and gas findings and reforms to improve efficiency drove a 65.3-percent increase in net profit in the first half of the year.

Repsol S.A. said Thursday that profit for the January-June period reached 1.05 billion euros ($1.23 billion) compared with 639 million euros for the first half of 2016.

The company said adjusted net profit rose 23 percent to 1.12 billion euros. The adjusted profit figure for upstream operations rose to 339 million euros from 63 million euros.

Repsol said more efficiency drove earnings up, together with better global raw material benchmark prices and production increases coming from Peru, Libya and Brazil.

During the first half of 2017, Repsol reported large discoveries of oil and gas deposits in Alaska and Trinidad and Tobago.