Harry Potter takes place primarily in Britain and Scotland, in the late1970s.
It includes numerous allusions, including concepts such as racism, discrimination, murder, and, probably the largest, it mirrors Adolf Hitler's rise to power in the form of Voldemort.