Treatment of ethyl 3-(3-pyridyl)-2-oxopropionate (I) with dimethyl phosphite (II) provides derivative (III), which is finally converted into the desired compound by hydrolysis with HCl.