The NEMO-3 results for the double-β decay of 150Nd to the 01+ and 21+ excited states of 150Sm are reported. The data recorded during 5.25 yr with 36.6 g of the isotope 150Nd are used in the analysis. For the first time, the signal of the 2νββ transition to the 01+ excited state is detected with a statistical significance exceeding 5σ. The half-life is measured to be T1/22νββ(01+)=[1.11−0.14+0.19(\mboxstat)−0.15+0.17(\mboxsyst)]×1020\mboxyr. The limits are set on the 2νββ decay to the 21+ level and on the 0νββ decay to the 01+ and 21+ levels of 150Sm.