compelled by duty.

listen to the pronunciation of compelled by duty.
Englisch - Englisch
dutybound

The captain was dutybound to see all passengers off the sinking ship before he left it himself.