Did reptiles care for their young or did mammals care for their young first?

Reptiles do not generally care for their young .