A little before. The kings of this dynasty were from Nubia, and engaged in diplomacy with the kings of Judea in their fight against subjugation by the Assyrians.
The 25th was finally overthrown by the Assyrians, who conquered Egypt.
Nubian Kings ruled well and restored many temples. Only the savage military-State of Assyria drove them out of Egypt. The Black Nubians were well liked by the Egyptian People.
Note: The Assyrians invented Cruxifiction—as a way to punish men for beating their wives and causing a miscarriage-—They extended this slow death to all they opposed. Why defend women? Because every dead child was one less soldier for the emperor! The state was dominate and owned all people!
You’re right. I was thinking of an earlier deportation- that of the northern kingdom of Israel in 586 BC by those same Assyrians.