These people groups had perceptions of gender and sexuality different from that of the Western world. Prior to this, several Native American tribes inhabited the area. Settlement by a large number of European-American immigrants introduced Christianity to the region, resulting in negative attitudes towards homosexuality. Sodomy laws were enacted during the time of the creation of the Idaho Territory in the mid-19th century.