社 was the god of the soil and
稷 the god of grain. Every state kept altars to both, so losing them meant losing the state, and
社稷 came to mean the country itself, as in
江山社稷. In Beijing, the Ming and Qing
社稷坛 (Altar of Land and Grain) still stands in
中山公园, beside the Forbidden City.