Herobrine is an npc that appeared in massive mob battles. he fought the skeleton king with both the zombie army(under his control) and his herobrine army. in the end, both sides soldiers were all dead, making him and the skeleton king fight each other directly, and herobrine was slain by the skeleton king, stopping his reign.