Facile synthesis of C1-substituted β-carbolines as CDK4 inhibitors for the treatment of cancer.