What are documents issued by state governments that give a community legal status and the ability to establish a local government?

What are documents issued by state governments that give a community legal status and the ability to establish a local government class=