[noun] + に代わって [noun] + に代わり
Prenominal form: [noun] + に代わる + [noun]
The grammar structure に代わって (also written as に代わり) is used to express doing something in place of, on behalf of, or as a substitute for someone or something. It comes from the verb かわる代わる (to take the place of).
When a person cannot do something themselves, another person acts on their behalf.
に代わって can also express that something replaces or takes the place of something else, often implying a shift or transition.
に代わり is a slightly more formal variant and is used in written language, news, and announcements.
When used with roles or positions, に代わって can imply that someone succeeds or takes over from another person.