The answer is: Emile Durkheim
According to Emile Durkheim, people would most likely united if they have to face a common enemy, since people tend to be willing to overlooked their difference with others if they all face a threat from the same source.
This can be seen on how people in Europe and north America banded together to fight off Nazi influence and how people in USA unites after the tragedy of 9/11.