strange creature washed up on the beach

hi there. i am new to this community so this is my first post. my house is close to a mostly natural beach on the west coast of india so i often go for long walks. occasionally i come across dead animals washed up in the tide. i have seen dolphins, turtles, snakes and fish as well as various other marine life. but one day a few years back i came upon a dead animal i did not recognize, though perhaps it may be some type of eel. it was well over a meter long. i was wondering if anybody here might help identify what it is. the photos are not exactly pleasant to view but reality is what it is and death is inevitable for all forms of life. so i hope you share my curiosity and are not put off by these photos.

thanks for any feedback.

p1010555_edited.jpg

p1010558_edited.jpg

p1010556_edited.jpg

H2
H3
H4
3 columns
2 columns
1 column
14 Comments