@Solivagantsheep
@JustWyatt
@Nixolas_Zinn
@NuclearRouge
Town of Salem is based on Mafia.
And Mafia is a more advanced version of Werewolf with more roles, but they are basically the same game but with different themes.
It's a bit iffy because the game technically "came out" in 1986 but did not become commercially available until later on.
( allegedly they went with the werewolf as the main theme as it was more popular at the time then mafia, and made more sense for a hidden enemy you cant find during the day )
The first version of Werewolf only had 2 special roles plus the normal villagers and the werewolf(s)
Mafia on the other hand usually have more special roles then werewolf, but mostly it depends on how new the version of the game is because later versions have more roles to spice up the game.