The present invention provides a process for preparation of 1-[3-(dimethylamino)propyl]-1-(4-fluorophenyl)-1,3-dihydro-5-isobenzofuran carbonitrile comprising reacting a compound of formula IVa, in the presence of a base with a compound of formula RX,