に悩まされて

be plagued by

→ に
phrase Rare #37,680
be plagued by Used when someone is continually troubled or afflicted by something, such as pain, illness, or other problems. Usually followed by いる to mean “be suffering from” or “be troubled by.”
JA: 最近、肩こりに悩まされている。
EN: I've been troubled by stiff shoulders lately.

ひどい頭痛に悩まされていると彼は言った

He said he was suffering from a terrible headache.

トムひどい頭痛に悩まされている

Tom is suffering from a terrible headache.

トム頭痛に悩まされている

Tom is suffering from headaches.