THe wrong part of my skeleton moves when Ii rotate a bone

So i made this derpy model



I want the bottom of this model to stay in place, and for each bone to effect the one above it. When I rotate a bone, this happens

So, how do I get it to do what I want?

Attachments

turretthingy.blend (502 KB)