The king over the children of pride is a reference to Satan (the Accuser). Just as he is referred to in the New Testament as a red dragon in Rev.12 having seven heads, so in Psalm 74:14: "Thou didst crush the heads of the Leviathan,..."
The word Leviathan is also mentioned in Rashi's commentary on Genesis 1:21: "God created the great sea monsters - Taninim." Jastrow translates the word "Taninim" as a "sea monsters, crocodiles or large snakes". Rashi comments: "According to legend this refers to the Leviathan and its mate. God created a male and female Leviathan, then killed the female and salted it for the righteous, for if the Leviathans were to procreate the world could not stand before them."
More...