彼は苦しみ悶えていた。

English Translation

He was in agony.

Tip: 苦しみ悶える(もだえる)is completely interchangeable with 苦しみもがく. You can check many other similar expressions here.