Who was the first pre-reconstruction era republican elected