The Xanthomonas effector XopK harbours E3 ubiquitin-ligase activity that is required for virulence.