Sort:  

The king can´t move, because then he would be in check.

Oh... I can see.. I'll keep thinking.