PENSACOLA — Winston D. Foster, 40, of Milton, was sentenced to 210 months in federal prison after pleading guilty in April to production and distribution of child pornography.

Christopher P. Canova, United States attorney for the Northern District of Florida, announced the sentence.

In January, law enforcement agents learned that Foster was communicating via Facebook with a 12-year-old child. These communications included Foster requesting the child to perform and photograph sexually explicit acts and then send him the images.

Foster also sent many sexually explicit images of himself to the child.

In February 2016, a search warrant was executed at Foster’s residence, and agents seized his computers and cellular telephone. A forensic review of Foster’s electronic media revealed approximately 46 images of child pornography, of which approximately 33 were of the victim.

The United States Immigration and Customs Enforcement Homeland Security Investigations, Florida Department of Law Enforcement, Walton County Sheriff’s Office, and the North Florida Internet Crimes Against Children Task Force investigated the case.

Assistant United States Attorney Jeffrey M. Tharp was the prosecutor.