The number of foreign residents in Japan reached an all-time high last year, the Justice Ministry reported Friday.

There were 2.23 million long-term and permanent foreign residents in Japan as of the end of last year, up 5.2 percent from 2.12 million people at the end of 2014, according to the ministry.

It was the highest number since the ministry began keeping data in 1959.