Neighbourhoods are usually created by social interaction between people living near each another. They are local social groups larger than households that are not under the control of city or state officials. In some early urban traditions, basic municipal functions such as protection, marriages, cleaning and repairs are done by neighbourhoods. This is shown to have happened in historical Islamic cities.