Optimization of activity, selectivity, and liability profiles in 5-oxopyrrolopyridine DPP4 inhibitors leading to clinical candidate (Sa)-2-(3-(aminomethyl)-4-(2,4-dichlorophenyl)-2-methyl-5-oxo-5H-pyrrolo[3,4-b]pyridin-6(7H)-yl)-N,N-dimethylacetamide (BMS-767778).