Please rectify the grammatical problems in the following text
I suddenly knew what had happened, he took his own life, and my heart broke.
I suddenly knew what had happened, he had taken his own life, and my heart broke.