WATERBURY — A man last living in Waterbury faces a federal charge after he allegedly failed to register as a sex offender in Connecticut since moving here back in September 2019, according to federal authorities.

Yamil Diaz, 48, was charged by a federal criminal complaint with violating the Sex Offender Registration and Notification Act, a news release from the office of U.S. Attorney for Connecticut John Durham said.

Diaz has been detained since Feb. 24.

As alleged in court documents, Diaz was convicted in the circuit court in Coffee County, Ala., on May 8, 2019, of attempted sexual abuse of a child younger than 12, federal authorities said.

He was sentenced to 10 years in jail, suspended after serving seven months — followed by two years of supervised probation. Diaz was also required to register as a sex offender and comply with other SORNA requirement.

In September 2019, a court in Alabama issued an arrest warrant for Diaz for allegedly violating his probation.

On Feb. 24, the U.S. Marshals Service Fugitive Task Fource found Diaz in Waterbury and arrested him on the outstanding Alabama arrest warrant.

“It is alleged that Diaz has failed to register as a sex offender in Connecticut, where he has resided since at least December 2019, and failed to update his sex offender registration in Alabama,” the news release said.

If convicted, Diaz faces up to 10 years in federal prison on the offense.