What was the first animal in the ocean?

The first animal to appear in the ocean was very likely the simple sea sponge. New genetic analyses led by MIT researchers confirm that sea sponges are the source of a curious molecule found in rocks that are 640 million years old.

Though it was the millipede to first transferred to land correct?

Yes it is correct according to experts aside from dinasours.