城 = city wall,
隍 = dry moat; literally "wall and moat deity" — the god of city defenses. Each major city had a
城隍庙 (City God Temple), often housing the deified spirit of a local historical official. Shanghai's
城隍庙 is now a famous bazaar and tourist district. Also widely worshipped in Taiwan and among overseas Chinese.