A Monroeville man who admitted last year that he raised and sold pit bulls for dog fighting will go to prison for two years.