The article on early history of legal system in Japan. An overview of the period from the ancient times until 17th century