The nuclear phase-out came into effect in 2002, under first Red-Green Schroeder government. (the "Act on the structured phase-out of the utilization of nuclear energy for the commercial generation of electricity")
Merkel government wanted to postpone the nuclear phase-out, but after Fukoshima, reverted to the original Red-Green nuclear phase-out.
https://en.wikipedia.org/wiki/Anti-nuclear_movement_in_Germa...