apple maggot flies   apples   hawthorns
Habitat differentiation in apple maggot flies.

The fly’s original habitat was native hawthorn trees, but some populations colonized apple trees introduced by European settlers.

Apples mature more quickly than hawthorn fruit.

The apple–feeding flies have been selected for rapid development, resulting in temporal isolation and reduced gene flow between the populations, even though they both live in the same geographic area.
Adapted from http://evolution.berkeley.edu/evosite/evo101/VC1eSympatric.shtml