[1 of 2] Swedenborg (1688-1772, Sweden): primary subject "Regeneration, how it works" (search under Inner Life/Teachings)": source "Arcana Coelestia, vol.11": detail "Section 9274"
The first state of the man who is being regenerated is learning truths, and seeing them, and the second state, willing, and loving them, and that the things which a man has learned and seen are not appropriated to him until he wills and loves them; for the will is the man himself, and the understanding is his servant. The man who is being regenerated is being endowed by the Lord both with a new understanding and a new will; and that unless he is endowed with both, he is not a new man, for the understanding consists only in seeing those things which a man wills and loves, and thus, as was said, is only a servant. The first state of the man who is being regenerated consists in his being led through truths to good, and the second state in his being led through good; and when he is in this latter state, the order is inverted, and he is then led by the Lord; wherefore he is then in heaven, and thus in the tranquility of peace.

[2 of 2] Swedenborg (1688-1772, Sweden): primary subject "Regeneration, how it works" (search under Inner Life/Teachings)": source "On the New Jerusalem and its Heavenly Doctrine": detail "Section 186"
The case of the regenerate man is similar to that of an infant, who first learns to speak, then to think, afterwards to live well, until all those things flow from him spontaneously, as from himself. Thus he is first led by the Lord as an infant, then as a youth, and afterwards as an adult. Similarly, he is first in a state of external innocence, which is his state of infancy, and is afterwards successively led into a state of internal innocence, which is his state of wisdom.
 Man is regenerated by influx into his knowledges of good and truth, which are introduced through mediate goods and truths, then into genuine goods and truths. Afterwards the mediate goods and truths are relinquished, and the genuine succeed in their place. Subsequently, another order is induced amongst his truths and goods, which is that they are disposed according to ends, thus according to the uses of spiritual life.
 They who are regenerated undergo several states, and are continually brought more interiorly into heaven, and nearer to the Lord. The regenerate man is in the order of heaven, and his internal is open into heaven. Man by regeneration comes into angelic wisdom, which however lies concealed in his interiors so long as he remains in the world, but is opened in the other life, and his wisdom is then like that of the angels.
 With a regenerate person, there is a correspondence between spiritual things and natural things. His order of life is altogether inverted [relative to his unregenerated state], and he is altogether a new man as to his spirit, and even though he appears like an unregenerate man in externals, he is not so in internals. Spiritual good, which is to will and to do good from an affection of the love of good, can only be given to man by means of regeneration.