The first vertebrates were jawless fishlike animals that appeared over 500 million years ago. They had cartilaginous internal skeletons. Ostracoderms had bony armor. Early vertebrates evolved in both marine and freshwater environments. Modern fish classes include cartilaginous Chondrichthyes like sharks and bony Osteichthyes including Sarcopterygii with lungs and Actinopterygii with ray fins, including most common fish species.