As Muhammadu Buhari’s final year in office winds down, the two-term Nigerian president who came to power promising crucial reforms to the country’s vital oil industry is no doubt thinking of his legacy.

The record is mixed, but he can count among his successes the passage last year of the Petroleum Industry Bill — now the Petroleum Industry Act (PIA) — capping a 20-year effort to create a more attractive investment environment and address the grievances of the communities most affected by oil and gas extraction.