Studies of the evolution of the major histocompatibility complex (MHC) have been central to the understanding sexual selection and pathogen-mediated selection. The European badger Meles meles is well suited for exploring such questions because of its life history characteristics, reproductive biology and mating system. In this thesis, I examined both MHC class I and class II genes. Seven putatively functional sequences were found for class I genes and four for class II DRB genes. Evidence of past balancing selection of both genes was demonstrated by the dNdS ratio, by positive selection at the antigen-binding site (ABS) and by trans-species polymorphism of alleles within other mustelids and carnivores. MHC class I genes also showed evidence...