These eventually advanced into the more complex fish we have today. Along the way in development of fish, the class of amphibians split off around 400 million years ago of which a subsection developed into reptiles. From here, a further subdivision gave rise to birds and mammals around 100 million years ago. At least that's the current thinking based on our fractious knowledge of natural history. For our purposes we could expect that the vertebrate immune system should develop from the rudimentary in fish to the most complex in ourselves.
Invertebrates exhibit a variety of defense mechanisms.
All vertebrates however, have generally the same immune system which has developed in subtly different ways for different species. The vertebrate humoral immune system Antibodies are the defense of choice in all vertebrates. Antibodies are structurally unrelated to the humoral factors found in invertebrates. They have much more flexibility and are much more potent in their defense ability. In humans there are several different Subtypes of antibodies with different functions.