▁the ▁move ▁would ▁place ▁the ▁king ▁in ▁check . ▁As ▁a ▁result , ▁oppos ing ▁k ings ▁may ▁never ▁occup y ▁adjacent ▁squares ▁( see ▁opposition ), ▁but ▁the ▁king ▁can ▁give ▁discovered ▁check ▁by ▁un mask ing ▁a ▁bishop , ▁ro ok , ▁or ▁queen . ▁The ▁king ▁is ▁also ▁involved ▁in ▁the ▁special ▁move ▁of ▁cast ling . ▁ ▁Cast ling ▁ ▁In ▁conj unction ▁with ▁a ▁ro ok , ▁the ▁king ▁may ▁make ▁a ▁special ▁move ▁called ▁cast ling , ▁in ▁which ▁the ▁king ▁moves ▁two ▁squares ▁toward ▁one ▁of ▁its ▁ro oks ▁and ▁then ▁the ▁ro ok ▁is ▁placed ▁on ▁the ▁square ▁over ▁which ▁the ▁king ▁crossed . ▁Cast ling ▁is ▁allowed ▁only ▁when ▁neither ▁the ▁king ▁nor ▁the ▁cast ling ▁ro ok ▁previously ▁moved , ▁no ▁squares ▁between ▁them ▁are ▁occupied , ▁the ▁king ▁is ▁not ▁in ▁check , ▁and ▁the ▁king ▁will ▁not ▁move ▁across ▁or ▁end ▁its ▁movement ▁on ▁a ▁square ▁that ▁is ▁under ▁enemy ▁attack . ▁ ▁Status ▁in ▁games ▁ ▁Check ▁and ▁check mate ▁ ▁A ▁king ▁that ▁is ▁under ▁attack ▁is ▁said ▁to ▁be ▁in ▁check , ▁and ▁the ▁player ▁in ▁check ▁must ▁immediately ▁rem edy ▁the ▁situation . ▁There ▁are ▁three ▁possible ▁ways ▁to ▁remove ▁the ▁king ▁from ▁check : ▁The ▁king ▁is ▁moved ▁to ▁an ▁adjacent ▁non - th re aten ed ▁square . ▁A ▁king ▁cannot ▁castle ▁to ▁get ▁out ▁of ▁check . ▁A ▁piece ▁is ▁inter posed ▁between ▁the ▁king ▁and ▁the ▁attack ing ▁piece ▁to ▁break ▁the ▁line