What belief system spread first from India and China and then to Korea and Japan helping to create cultural unity in the region?

Buddhism spread first from India to China, and then from China to Korea and Japan, helping to create cultural unity in the region.