Intermission: Japanese Japanese grammar is bad, too, actually
Intermissions are optional.
In Japanese school grammar, で is considered the て “particle” of だ. (Well, they don’t distinguish the て form and て particle, but same difference.) This is because of the way it can act like a conjunction. Make sure not to confuse the words “conjugation” and “conjunction”.
It’s confusing when you learn the etymology of だ, because you end up with a system where で and だ are derived from eachother with に caught in the crossfire.
In the examples below, で links “I’m the teacher” to “Aya is my assistant”. に marks what the speaker became: a school teacher.
俺は先生で、アヤが助手だ。 I'm the teacher, and Aya is my assistant. そして俺は学校の先生になった。 And I became a school teacher.
The easiest way to think of things is that they lead back to に and て, not だ. But it’s important to remember that Japanese school grammar still considers で to be the て “particle” of だ, because it’s allowed to act like it is.
This is one of the reasons I presented the て “particle” and て “form” as different things.
Some instances of にて might actually be a fossilized proto-Japanese copula, not a combination of the に and て particles, but it basically merged with the case particle sequence にて at some point, and both interpretations are valid. This “fossilized proto-Japanese copula” is basically treated as the reason why で is allowed to “act like the て particle of だ” sometimes.
会議は夜中遅く、地下にて行われた。 The meeting took place underground late at night.