Where did pelagic lobe finned fish lived?

Pelagic lobe-finned fishes (Sarcopterygii) originated around 420 Mya in shallow warm waters; some forms radiated toward freshwater habitats, evolving into primitive lobe fins such as lungfish, coelacanths, tetrapodomorphs, tetrapods, and finally amphibians and all land animal species