In Martín Vizcarra's administration, Zeballos was appointed Minister of Justice and Human Rights, serving in the position until his appointment as Prime Minister after Salvador del Solar's resignation due to the denied confidence given by Congress, prompting its constitutional dissolution. His tenure was marked by controversy and subject of extensive media scrutiny regarding his management skills, specifically during the COVID-19 pandemic in Peru. Zeballos was succeeded in office by former Prime Minister Pedro Cateriano on July 15, 2020.