The discovery of novel 5,6,5- and 5,5,6-tricyclic pyrrolidines as potent and selective DPP-4 inhibitors.