Is a diamond a insulator or a conductor?

Diamond is a good thermal conductor. But it is an excellent electrical insulator.