Can a pope be a heretic?

Can the pope be a heretic?

The Holy Spirit protects the Church from a pope definitively promulgating for the universal Church an error in a matter of doctrine or morals; he doesn’t necessarily inspire a pope to hold to right doctrine. For more information, please see the links below.

Recommended reading:

Papal Infallibility
White Smoke, Valid Pope by Fr. Brian Harrison, O.S.

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.