Caroline was very devestated after Stefan and she broke up. Caroline decided to stay true to Alaric for Alaric's two children. Stefan and Caroline ultimately end up together, which ends this three year long love triangle.