The invention relates to trycyclic lactam indole derivatives and triacyclic lactam benzimodole derivatives and their use in inhibiting the activity of PARP enzyme. The invention also relates to the use of these compounds in the preparation of medicaments.