A former staffer for the U.S. Virgin Island's congressional delegate has been sentenced to a year and a day in prison for circulating sexually explicit photos and videos of his former boss and her husband.

Juan McCullum, 36, pleaded guilty in January to two federal cyber-related charges and two D.C. offenses, including conspiracy to disclose sexual images and attempted unlawful publication of a sexual image.

In addition to the prison time, McCullum must also complete two years of supervised probation, U.S. Attorney Jessie Liu and U.S. Capitol Police Chief Matthew Verderosa said in a statement.

A co-defendant in the case, Dorene Browne-Louis, also pleaded guilty in January to one federal cyber charge and a D.C. charge of conspiracy to disclose sexual images. She is scheduled to be sentenced next month.

McCullum worked for Del. Stacey Plaskett (D) from April 2015 until June 2016. Brown-Louis worked for the delegate from January 2015 until April 2016.

While he was working in Plaskett's D.C. office, McCullum offered to take her malfunctioning iPhone to an Apple store to be repaired, according to court documents.

But after Plaskett gave him the password for the device to facilitate the repair, McCullum took possession of nude images and videos stored on the phone.

After McCullum left Plaskett's office, he posted the photos on email and social media accounts created under fake names, according to court documents. Louis-Brown assisted McCullum in distributing the videos and photos.