Who was the Greek god of the Sea?

Poseidon
Poseidon was one of the Twelve Olympians in ancient Greek religion and myth.

He was god of the Sea and other waters; of earthquakes; and of horses.

In pre-Olympian Bronze Age Greece, he was venerated as a chief deity at Pylos and Thebes.

More at Wikipedia