Patent ID: 8063206

Claim:
A process for the preparation of a compound of formula (II) or a hydrate or pharmaceutically acceptable salt, ester or amide thereof; wherein p is an integer selected from 1 and 2; R 14 is selected from the group consisting of —H and —C 1-6 alkyl; q is an integer selected from 0, 1 and 2; each R 13 is independently selected from the group consisting of —C 1-6 alkyl, —OC 1-6 alkyl, and halo; R 11 is —H or is independently selected from the group consisting of —C 1-6 alkyl, —C 3-8 cycloalkyl, and 4- to 8-membered heterocycloalkyl ring; wherein each alkyl, cycloalkyl, and heterocycloalkyl is optionally substituted with one, two, or three substituents R a ; each R a substituent is independently selected from the group consisting of —C 1-6 alkyl, fluoro, —OH, —OC 1-6 alkyl, and —NR b R c ; R b and R c are each independently —H or —C 1-6 alkyl, or R b and R c taken together with their nitrogen of attachment form a 5- to 7-membered heterocycloalkyl ring, said ring optionally substituted with halo, —C 1-4 alkyl, —OH, or —OC 1-6 alkyl; R 12 is independently selected from the group consisting of —C 1-6 alkyl, —C 3-8 cycloalkyl, and 4- to 8-membered heterocycloalkyl ring; wherein each alkyl, cycloalkyl, and heterocycloalkyl is optionally substituted with one, two, or three substituents R a ; alternatively, R 11 and R 12 taken together with their nitrogen of attachment form a 5- to 7-membered heterocycloalkyl ring; wherein the heterocycloalkyl ring is optionally substituted with one, two, or three substituents R d ; each R d substituent is independently selected from the group consisting of —C 1-4 alkyl, halo, —CH 2 F, —CHF 2 , —CF 3 , —OH, —OC 1-6 alkyl, —C 1-4 alkylOH, and —NR e R f ; wherein R e and R f are independently —H or —C 1-6 alkyl; comprising reacting a compound of formula (XXIII) with a source of bisulfite; in a polar organic solvent; to yield the corresponding bisulfite, the compound of formula (XXVII); reacting the compound of formula (XXVII) with a compound of formula (XXIV); in the presence of a reducing agent; in the presence of an organic or inorganic base; in an organic solvent; to yield the corresponding compound of formula (II); wherein the compound of formula (XXIV) is present in an amount greater than one equivalent; and optionally reacting the compound of formula (II) to yield the corresponding hydrate or pharmaceutically acceptable salt, ester or amide of the compound of formula (II).