Tosa Domain
Iwamura was born in Kōchi as the eldest son to a samurai family serving the Tosa Domain. He studied swordsmanship under Okada Izō. During the Boshin War of the Meiji Restoration, he fought under the imperial banner, in the Battle of Hokuetsu in 1868-1869.