Plant pathogens cause significant reductions in agricultural productivity worldwide, and control strategies remain ineffective for many pathogens. Fungal plant pathogens often rapidly overcome resistance gene mediated immunity defeating expensive breeding efforts. Similarly, the deployment of synthetic chemicals is often followed by the rise of resistant pathogen populations. However, we still lack basic understanding how different evolutionary forces shape the genetic composition of pathogen populations. Additionally, how virulence evolves over time and its genetic basis remains largely unknown. In this PhD thesis was to study the lifestyle and virulence evolution in the fungal wheat pathogen Zymoseptoria tritici using population genomics, association mapping and metabolite analysis. We deep sequenced a large set of isolates of Zymoseptoria tritici sampled from multiple genetically distinct wheat cultivars replicated in space at three time points of the growing season. Population genomic analysis revealed an astonishing level of genetic diversity in a single field exceeding global diversity levels for many other pathogens. The study establishes the role of sexual and asexual reproduction in short-term adaptation, as recombination enables the reshuffling of allelic variation. In the second chapter, I used genome-wide association mapping to investigate genetic basis of fungal virulence of Z. triticion a commonly used wheat cultivar. The strongest association was intergenic and flanked by genes encoding a predicted effector and a serinetype protease. The virulence loci was highly dynamic, consisting of multiple families of transposable elements and strong signatures of repeat-induced point mutation (RIP), contributing to the locus's rapid diversification. In the third chapter investigated the genetic basis of metabolites production variation in a single field Z. tritici population. Using untargeted metabolic profile and GWAS we found strong associations in proximity genes encoding functions related to endosomal functions and transporters. Overall this PhD thesis highlights the potential of whole genome sequencing of a single field population in understanding the lifestyle and evolution of virulence for an important plant pathogen. Establishing a complete picture of the genomic basis of adaptation in a pathogen population will help in efficient designing of plant disease management strategies