Correct all of the grammatical issues in the given sentence:
As we know, people are living longer today than they used to, and this is resulting in a much larger elderly population than formerly.
As we know, people are living longer today than they used to, and this is resulting in a much larger elderly population than before.