A Tacoma man received a 52-month sentence for distributing heroin and fentanyl within SeaTac Federal Detention Center.