Fomalhaut b was long thought to shape the eccentric debris belt in the Fomalhaut system, but its orbit was found to be too eccentric for it to be the dominant belt-shaping perturber. This indicates that Fomalhaut b is Earth-sized at most and that the belt-shaping perturber, hereafter named Fomalhaut c, remains to be discovered. In addition, since its orbit more or less crosses that of Fomalhaut b, it also indicates that the current configuration of the system is transient and was reached recently. In this talk, we show that this current configuration can be explained if Fomalhaut c is Saturn- to Neptune-sized, and Fomalhaut b originates from a mean-motion resonance with Fomalhaut c.