The separation of Buddhism from Shinto and the hostile attitude of the new Meiji government towards Buddhism dealt a heavy blow to Hōrai-ji, and with the opening of the Tōkaidō Main Line railway, the number of pilgrims was reduced.