In the
2004 Philippine general election, he divested his shares in his private investments to make a bid for
governor of Leyte. He won during that year's election, defeating
Sergio Apostol, a three-term congressman and then Presidential Legal Adviser. His first 100 days in office saw the drafting of the Implementing Rules and Regulations of the Leyte Provincial Investment Code of 2004. The code aims to encourage investors to locate in
Leyte with the salient feature of getting a 100% real property tax holiday for 5 years. Petilla also supported the Philippine Economic Zone Authority (PEZA) in approving the application of the Provincial Government of Leyte to convert the 6.9 hectares lot at Barangay Pawing,
Palo, Leyte, where the developed Leyte Academic Center is located, into the Leyte Information Communication Technology (ICOT) Park.
2007 elections Petilla accepted the nomination of the ruling party
Lakas–CMD as one of its candidates for
Senator under
TEAM Unity in the
2007 Senate election. However, only days after he filed his candidacy, he withdrew his name from the coalition, with
Boholano actor
Cesar Montano acting as his replacement in the slate.
2016 elections In June 2015, he stepped down as Secretary of Energy to prepare for a senatorial bid. He ran for senator under the
Koalisyon ng Daang Matuwid led by the
Liberal Party (LP). His campaign centered on three major advocacies: energy, education and health. He failed to win a Senate seat, placing 18th out of 50 candidates with around 6.3 million votes. ==Personal life==