They are all dangling. Recast.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
vishaljain23231"Having worked for 40 years for them, James was dismissed" Or,"Having worked for 40 years, James was dismissed by them."OK.