SpongeBob SquarePants 1×23 : Squidward the Unfriendly Ghost
SpongeBob thinks he accidentally killed Squidward, so Squidward decides to use it for his advantage. Threatening to haunt them for the rest of their lives, Squidward makes SpongeBob and Patrick his servants.