In the Ming dynasty, the Tai Tsu emperor gave different status to the king, duke, earl and marquis Cheng Huang, and the size of their temples was fixed according to the courts of their corresponding earthly officials.
到了明朝，太祖朱元璋更將城隍分為王、公、伯、侯不同位階，廟的大小也依同級官署衙門而定。