존왕양이
Yamada was born in Kumamoto Domain, Higo Province (present-day Kumamoto Prefecture). He was active in the "Sonnō jōi" movement, relocated to Satsuma Domain during the Bakumatsu period. Captured by security forces of the Tokugawa shogunate in 1863, he was sentenced to five years in prison.