For example, Islam has gained a bad name because of some radical groups that carry out terrorist attacks in the name of Islam.
Islam has gained a bad name. Some radical groups carry out terrorist attacks. They carry them out in the name of Islam.