When you reach the goal — and the monthly deposit that gets you there.
Balance compounds monthly; the required-deposit figure solves forward for the monthly amount needed so the target is reached exactly by the chosen year count — the two directions in one place.