We report the synthesis of a novel analogue of Alogliptin via condensation of two key intermediates one of which is an aminopiperidine derivative bearing a spirocyclic ring on the piperidine moiety. Preparation of the aminopiperidine intermediate was carried out by constructing the cyclopropyl ring prior to assembling the piperidine ring.