The present invention relates to a process for preparing the compound 3-(4-piperidinyl)-2,3,4,5-tetrahydro-1,3-benzodiazepin-2(1H)-one of formula