Purely accidental. Had no clue :)
“Van the Man” wrote the song and first recorded it with his group, Them, before re-recording it as a solo artist. I think The Doors also did a cover of “Gloria”.
https://www.youtube.com/watch?v=J0aHmMfZTEw