The nationalist awakening came with the rise to power, however briefly, of Amyrtaeus in 404 BC, who ended the Persian occupation. He was defeated and executed at Memphis in October 399 BC by Nepherites I, founder of the Twenty-ninth Dynasty. The execution was recorded in an Aramaic papyrus document (Papyrus Brooklyn 13). Nepherites moved the capital to Mendes, in the eastern delta, and Memphis lost its status in the political sphere. It retained, however, its religious, commercial, and strategic importance, and was instrumental in resisting Persian attempts to reconquer Egypt.