This is a soldier fly I found late August last year, it has been infected and killed by an entomopathogenic fungus, possibly
Zoophthora radicans. This is visible on the second photo as a white powdery substance on the abdomen and wings.
What is particularly interesting about these type of fungi is the effects that they can have on insects. Fungal infections can cause flies to climb up to the top of a plant, spread their wings and become stuck on the surface of a leaf or stem. These effects all increase the chance that the fungal spores will spread, infecting more insects.
Chorisops tibialis