治安維持法
Following his release from prison in 1886, Hayashi rejoined Itagaki Taisuke and became a member of the "Jiyūtō" political party. He was temporarily expelled from Tokyo under the Peace Preservation Law in 1887 for his continued opposition to government policies. He won a seat in the Lower House of the Diet of Japan in the 1890 General Election, and was subsequently reelected eight times to the same seat.