Shin Megami Tensei takes place in a near future Tokyo, first in the year "199X", and then 30 years later in a post-apocalyptic version of the city. A rift has been opened to another world, allowing demons to invade Tokyo; by using a computer program, humans are able to communicate with and summon the demons. Across the story, moral alignments are portrayed in various ways: alongside the middle "neutral" pathway, the "law" faction believes in establishing a logical order at the expense of feeling and freedom, while the "chaos" faction espouses unlimited freedom for the individual while discarding the weak.