"large cemetery" of an ancient or modern city, 1803, from Late Latin, literally "city of the dead," from Greek Nekropolis, a burial place near Alexandria, from nekros "corpse" (from PIE root *nek- (1) "death") + polis "city" (see polis).
"ancient Greek city-state," 1894, from Greek polis, ptolis "citadel, fort, city, one's city; the state, community, citizens," from PIE *tpolh- "citadel; enclosed space, often on high ground; hilltop" (source also of Sanskrit pur, puram, genitive purah "city, citadel," Lithuanian pilis "fortress").
<a href="https://www.etymonline.com/word/necropolis">Etymology of necropolis by etymonline</a>
Harper, D. (n.d.). Etymology of necropolis. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/necropolis