He led the country out of the pandemic and avoided a deep recession.