Let us first consider the analogous case. Malchut is the root of the created worlds and their inhabitants. And what is Malchut? Malchut is the last part of the Sefirot of Zeir Anpin (i.e. the last part of all the Sefirot making up the Partzuf of Zeir Anpin – Chessed, Gevurah, Tiferet, Netzach, Hod, Yesod – representing all the upper Sefirot; each of the upper Sefirot includes all ten Sefirot and therefore has its own individual Malchut). For the root of the lower realms and beings is the last part – the last power – found in each individual Sefirah.
Account of Malchut
Kalach Pitchei Chokhmah 26:9