Though Bonnie tried to help Elena, her transition was inevitable, and in the end, Stefan killed a guard to get Elena blood before it was too late. Though Elena never wanted it, she became a vampire with the help of Stefan and Rebekah.