Why Does Japan Drive On The Left Side of the Road?

About a quarter of the world’s nations drive on the left side of the road, Japan being one of them. But why do they drive on the left side when so many other countries drive on the right? Have they always used the left side of the road?