37Vascular pathogens travel long distances through host veins leading to life-threatening, systemic 38 infections. In contrast, non-vascular pathogens remain restricted to infection sites, triggering 39 localized symptom development. The contrasting features of vascular and non-vascular diseases 40 suggest distinct etiologies, but the basis for each remains unclear. Here, we show that the 41 hydrolase CbsA acts as a phenotypic switch between vascular and non-vascular plant 42 pathogenesis. cbsA was enriched in genomes of vascular phytopathogenic bacteria in the 43 Xanthomonadaceae family and absent in most non-vascular species. CbsA expression allowed 44 non-vascular Xanthomonas to cause vascular blight while cbsA mutagenesis resulted in reduction 45 of vascular or enhanced non-vascular symptom development. Phylogenetic hypothesis testing 46 further revealed that cbsA was lost in multiple non-vascular lineages and more recently gained by 47 some vascular subgroups, suggesting that vascular pathogenesis is ancestral. Our results overall 48 demonstrate how the gain and loss of single loci can facilitate the evolution of complex ecological 49 traits. 50 51 52 4 MAIN TEXT 53 54 55 56 Pathogenic microorganisms cause diseases of animals and plants. Some pathogenic species 57 colonize the host vasculature, which leads to systemic infection, while others remain localized to 58 non-vascular tissues. Complex structural and biochemical differences between vascular and non-59 vascular tissues suggest that pathogens have multiple distinct adaptations to either environment, 60 yet the genetic and evolutionary bases of such adaptations are largely unknown. 61 62 Adaptations often occur through wholesale gain and loss of specific genes, resulting in more rapid 63 evolution compared with incremental changes at the DNA sequence level alone (1). In bacteria, 64 gene gain occurs primarily through horizontal gene transfer while gene loss or pseudogenization 65 occurs through multiple mechanisms, including transposon-mediated insertions and sequence 66 deletions in open reading frames (2-4). Especially for loci encoding ecologically relevant traits, 67 gene gain and loss effectively act as phenotypic switches, enabling rapid shifts between what 68 otherwise seem like complex lifestyles (3). For example, transitions between plant pathogenic and 69 commensal Pseudomonas (5), transitions between mutualist and parasitic phenotypes in nitrogen-70 fixing bacteria (6, 7) and transitions between mutualistic and plant pathogenic Rhodococcus (8) 71 have all been shown to reproducibly occur through the gain and loss of genomic islands 72 containing multiple genes all contributing to the same phenotype. Such rapid evolutionary 73 dynamics have profound implications for our understanding of disease ecology and disease 74 management strategies. 75 76 93 94Here, we used Xanthomonas as a model to study the etiology of plant vascular pathogenesis 95 because this genus contains multiple independent pairs of strains from the same species that cause 96 e...