Yari (a spear with a small head) was developed in late Kamakura period by following naginata (a long pole with a sharp curving sword), which had been the mainstream in the mid Heian period and later.
平安時代中期以降に主流だった薙刀の後を追うような形で鎌倉時代後期に槍が生まれた。