The disclosure provides a selective inhibitor of DNA-binding to poly (ADP-ribose) polymerase 1 (PARP1), or a pharmaceutically acceptable salt or solvate thereof, for use in treating, ameliorating or preventing cancer. The treatment may be given to a subject suffering from or at risk of osteoporosis or a subject requiring a long-term therapy.