Answer
Capriles ceased to be the Governor of Miranda in 2017. He had been governor since 2008, but was defeated in the 2017 gubernatorial election by Héctor Rodríguez Castro, a member of the United Socialist Party of Venezuela (PSUV). Capriles had previously run for president in 2012 and 2013, but was defeated both times by Nicolás Maduro, the current president of Venezuela.