The move from the sea to fresh water probably occurred by the Pennsylvanian period. Eurypterids went extinct during the Permian–Triassic extinction event 251 million years ago, and their fossils have a near global distribution.