29-year-old Brandon Scott Massey was sentence to 40 years for sexual exploitation of children, attempted sexual exploitation of children, and possession of child pornography, U.S. Attorney Robert J. Troester announced Tuesday.