The last time it happened was under very different circumstances as well, making this decision even more unique. The last time was Gregory XII who resigned in 1415. However that was done in an attempt to bring an end to the great schism which saw two (and eventually three) popes busily excommunicating each other. Not one of Roman Catholicism's shining moments.