Germline restricted DNA has evolved in diverse animal taxa, and is found in several vertebrate clades, nematodes, and flies. In these lineages, either portions of chromosomes or entire chromosomes are eliminated from somatic cells early in development, restricting portions of the genome to the germline. Little is known about why germline restricted DNA has evolved, especially in flies, in which three diverse families, Chironomidae, Cecidomyiidae, and Sciaridae exhibit germline restricted chromosomes (GRCs). We conducted a genomic analysis of germline restricted chromosomes in the fungus gnat Bradysia (Sciara) coprophila (Diptera: Sciaridae), which carries two large germline restricted L chromosomes. We sequenced and assembled the genome of B. coprophila, and used differences in sequence coverage and k-mer frequency between somatic and germ tissues to identify GRC sequence and compare it to the other chromosomes in the genome. We found that the GRCs in B. coprophila are large, gene-rich, and have many genes with paralogs on other chromosomes in the genome. We also found that the GRC genes are extraordinarily divergent from their paralogs, and have sequence similarity to another Dipteran family (Cecidomyiidae) in phylogenetic analyses, suggesting that these chromosomes have arisen in Sciaridae through introgression from a related lineage. These results suggest that the GRCs may have evolved through an ancient hybridization event, raising questions about how this may have occurred, how these chromosomes became restricted to the germline after introgression, and why they were retained over time.