When a king is placed in check and has no legal movements to escape, it is called a checkmate.