 A 2019 study investigated why residents of cities tend to have more positive attitudes towards immigration and cosmopolitanism.The study concluded that it was not living in a city per se that created more positive attitudes but rather the composition of the populations of cities; city populations tended to be more educated, which correlated with more positive immigration attitudes, while people who were more positive of immigration were more likely to self-select into large cities.Cities were also found to be internally heterogenous with regards to immigration attitudes, with attitudes varying between neighbourhoods.