Condensation of 4-methoxybenzaldehyde (I) with gamma-butyrolactone (II) by means of NaOMe yields furanone derivative (III), which is then reduced in ether with LiAlH4 to afford diol (IV). Mesylation of (IV) by means of MsCl and Et3N in benzene provides dimesylate (V), which is finally condensed with amine (VI) with simultaneous cyclization in refluxing benzene.