Religion in Japan capital at Heian (now Kyoto). The six Buddhist sects initially established in Nara are today together known as "Nara Buddhism" and are relatively small. When the capital moved to Heian, more forms of Buddhism arrived from China, including the still-popular Shingon Buddhism, an esoteric form of Buddhism similar to Tibet's Vajrayana Buddhism, and Tendai, a monastic conservative form known better by its Chinese name, Tiantai. When the shogunate took power in the 12th century and the administrative capital moved to Kamakura, more forms of Buddhism arrived. The most popular was Zen, which became the most popular type of Buddhism of
LGBT rights in Japan include , , , , and . Homosexuality is legal in Japan. There are no explicit religious prohibitions against homosexuality in the traditional religion of Japan, Shintoism, or in the imported religions of Buddhism (see "Buddhism and sexual orientation") or Confucianism. Sodomy was first criminalized in Japan in 1872, in the early Meiji era, to comply with the newly introduced beliefs of Western culture and the Qing legal codes. But this provision was repealed only seven years later by the Penal Code of 1880 in accordance with the Napoleonic Penal Code. Since then, Japan has had no laws against homosexuality.