Enchant creature you control
When enchanted creature dies, create X 1/1 white Soldier creature tokens, where X is its power.
If another player gains control of either Murder Investigation or the enchanted creature (but not both), Murder Investigation will be enchanting an illegal permanent. The Aura will be put into its owner’s graveyard as a state-based action.
To determine how many Soldier tokens are created, use the power of the enchanted creature as it last existed on the battlefield.