More than a year after he sexually assaulted an East Point store clerk at gunpoint, a teenager was sentenced to 23 years in prison and life probation.

Demarquez Wagner, 17, pleaded guilty Friday to charges of aggravated sodomy, kidnapping, false imprisonment, armed robbery, aggravated assault with a deadly weapon, burglary in the second degree and possession of a firearm during the commission of a felony, Fulton County District Attorney’s Office spokesman Dontaye Carter said Wednesday.

Wagner was 16 on Aug. 10, 2015, the day he and another masked man entered the Metro PCS store in Washington Plaza armed with a handgun and ordered the store clerk to “give up the money,” Carter said.

As the 20-year-old clerk began to comply, Wagner ordered her to walk into a restroom and sexually assaulted her, prosecutors said. The teen left the scene with the other masked man in a stolen silver Ford Fusion, Carter said.

Wagner was arrested 10 days later driving a car authorities said was stolen from Cobb County.

“Wagner’s DNA was an exact match to the DNA collected from the scene of the sexual assault,” Carter said.

After taking the plea, Wagner was asked if he wanted to apologize to the victim.

“I did what they say I did,” he said.