A Lafayette man got 20 years in prison Friday for distributing sexual abuse material showing prepubescent girls.