Effective December 20, 2014, children born in Germany after January 1, 2000, to parents who, upon said birth, 1) were both foreigners and 2) one parent has stayed in Germany legally for eight years, and 3) the child has grown up in Germany, can now opt for both German citizenship and the citizenship of their parent’s country when they turn 21.

Source