Lei participated in the Nanchang Uprising of August 1, 1927 and the Guangzhou Uprising in December 1927. In 1929 he became the chairman of the communist base at Youjiang District, Baise, Guangxi. In 1931, at the end of his term, Lei left the communist party. In 1934 Lei joined the Long March.