Mendes, who began his career at ANP, resigned effective immediately, according to a Petrobras filing Wednesday. He is also Brazil’s oil and gas secretary at the Mines and Energy Ministry. His new appointment hasn’t yet been published in the official gazette.