Up to that period about 800ad the Chinese influence had been Paramount but about that time it went out of favour and in came the period of the massive influence of the Fujiwara family and a period of Great culture Buddhism became the new religion and peace bloomed art painting poetry became the new way and to this day that period is looked on as the golden times , it lasted about four hundred years , it also heralded the new warrior class Samaria controlled be the shogunate . Because of that period of peace invasions of other races stopped and japan settled into seclusion , but like all peaceful nations is denigrated into listlessness and lack of control at the end of the heian period there was hardly any law and the country was falling into anarchy it was when the shogunate took over control and Japan became warlike again .