Source: Express UK
The suspect, an Afghan migrant, was caught after police found DNA on a scarf near the path.
The scarf reportedly belonged to Maria.
They also found a strand of hair on a nearby blackberry bush.
Officers then trawled CCTV to see find people with a similar hairstyle, which led them to the suspect.
Following his arrest the suspect, aged 17, pleaded guilty to the attack and will be sentenced next year.
The unnamed migrant arrived in Germany last year as an unaccompanied minor and lived with a local family in the city.