Quake Team Fortress

Team Fortress was originally intended as a mod for Quake, and as it became more and more popular, the developers eventually made it into a game, team fortress classic. Valve then bought the rights to Team Fortress, and made it into the hugely popular game, Team Fortress 2.