Original: In the film, Dorothy's house falls on the Wicked Witch of the East, killing her and freeing the Munchkins from her tyranny.
Simplified: Dorothy gets the slippers after her house falls on the Wicked Witch of the East, killing the witch.