 Silk exports allowed Japan to gather currencies to purchase foreign goods and technologies.In 1870, Henri Pelegrin was invited to direct the construction of Japan's first gas-lightning system in the streets of Nihonbashi, Ginza and Yokohama.In 1872, Paul Brunat opened the first modern Japanese silk spinning factory at Tomioka.