Yamamoto was elected to the House of Representatives in the 1928 General Election in February, being one of the two members of the Labour-Farmer Party who got elected, alongside Mizutani Chozaburo. The party was subsequently banned less than a month after the election, but both representatives retained their parliamentary functions. During his term he criticized the torture and illegal detention of prisoners by the police and unsuccessfully spoke against amending the Peace Preservation Law of 1925 to include the death penalty. Despite this, the amendment was passed in the Diet by a vote of 249-170. On that night, he was killed by a right-wing assassin at an inn in the Kanda district of Tokyo.
References
S. Noma (Hrsg.): Yamamoto Senji . In: Japan. An Illustrated Encyclopedia. Kodansha, 1993. ISBN4-06-205938-X , S. 1730.