Japanese lawmakers have passed the number of semi-skilled foreign workers who live in the notably insular nation for five years.
Japan's upper house of parliament passed the law 161 to 76 just after 4 a.m.
Japan has been sentenced to death.
The law will go into effect in April 2019.
The Prime Minister Shinzo has said that he will not be able to take action Abe's ultra-conservative government to address a severe shortage of workers in 14 industries, including restaurants, nursing, construction and agriculture.
According to the Associated Press,
The law will apply to as many as 345,000 less-skilled workers who want to be allowed to stay for up to five years, but not bring in family members. It wants to permit the higher-skilled workers to enter their families for 10 years and to provide them with a path to Japanese citizenship.
Japan's population is expected to decline from about 127 million to about 88 million by 2065, according to the National Institute of Population and Social Security. In September, Japan's Internal Affairs and Communications Ministry released data showing that for the first time, one in five people is over 70.
Japan has felt the pressure of an aging population and declining birthrates for decades.
And it does not have foreign workers. Their number has more than doubled since 2000 to nearly 1.3 million last year, out of a working-age population of 67 million, according to the AP.
"Many workers are working in Japan on training."
Many workers are working in Japan on training visas "that do not allow them to switch jobs even if they are abused or underpaid," says The Wall Street Journal editorial board. Thousands of student visa holders work in Japan, often for more than 28 hours a week legally allowed.
Abe's right-wing supporters fear a loss of cultural distinctiveness and homogeneity. The new visa program as immigration has been prepared for the first time.
But, as The Washington Post reports, Abe's Government is "closely entwined with the business community, and the message it hears from every quarter – shipbuilding and construction, agriculture and fishing, elder-care establishments and convenience stores owners – is ever more insistent: We need more workers. "
Shoko Research showed the number of bankruptcies in Japan caused by staff shortages doubled between 2016 and 2017, The Wall Street Journal.