When asking which leader consolidated Japan's fragmented territories into a unified state, the definitive answer is Tokugawa Ieyasu (1543–1616). His achievement ended over a century of civil war (Sengoku Jidai) and established the Tokugawa Shogunate, which governed Japan for 265 years (1603–1868)—the Edo Period.
Japan in the late 16th century was a patchwork of warring daimyō (feudal lords) controlling semi-autonomous domains. Ieyasu's consolidation occurred through:
The Battle of Sekigahara (1600) was the decisive conflict. Ieyasu's Eastern Army defeated the Western Army loyal to Toyotomi Hideyori (son of his former lord, Toyotomi Hideyoshi). This victory gave Ieyasu de facto control over Japan.
Ieyasu's consolidation brought unprecedented stability, urbanization, economic growth, and cultural flourishing (ukiyo-e, kabuki, haiku, tea ceremony). The peace enabled population growth from ~12M to ~30M. However, the rigid isolation and class system eventually hindered modernization, leading to the Meiji Restoration (1868) that ended the shogunate.
Ieyasu's posthumous deification as Tōshō Daigongen ("Great Deity of the East Illumination") at Nikkō Tōshō-gū reflects his quasi-mythic status as Japan's great unifier.