Lesson Catalog

Novice · Checkmate

Attacking a Castled King: Checkmates on g7

Nikolaj Boesen 8:54

8
7
6
5
4
3
2
1
a
b
c
d
e
f
g
h

Summary

check, checkmate, unstoppable mate, weak square, dark square

Setup

Start with a clear board and make sure the bottom left corner is a1. Wait for the prompt to set up the position. Have the full set on hand, as you'll need most of the pieces.

Description

Learn typical checkmates against a castled king with a weakened g7 square.

In this lesson, we're going to learn how to attack against a castled king. We often castle the king in order to get it into safety. But once it is castled, some of the squares close to the king suddenly become targets for an attack. In this lesson, we're going to learn about one of these squares. Start by setting up the pieces as seen on the video.

Awesome. In this lesson, we will explore how to attack and defend the Square g7. In this situation, it's black's turn. Black has previously castled trying to get the king into safety, but is now in trouble. We'll be playing from the side of the white pieces, and so the focus will be on attacking and defending the square on g7. But remember that black will have the same opportunities for attacking the square on g2 in front of the white king. Everything that is true for the square on g7 will be equally true for the square on g2. In this situation, black is facing what is called an unstoppable checkmate. Black has plenty of legal moves, but whatever black does, white can simply checkmate next turn. White is threatening to move the queen to g7 from where it will be protected by the pawn on f6. The king won't have time to escape and so it will be a checkmate. Black desperately tries to move the rook to e8.

White has an easy response and moves the queen to g7.

Black is in a checkmate and there was nothing they could do to avoid it. Positions like these are dangerous, and unstoppable checkmates are something to look out for. Let's look at another example of how to attack the black king that has castled. Set up the pieces as seen on the video.

Nice. In this situation, black has a similar structure to before having castled the king, but this time the g pawn is still at its starting square. Now it's white's turn to play. White needs to combine the strength of the pawn and the queen to deliver a devastating attack. White starts by moving the pawn to f6.

The pawn and the queen are both targeting the square on g7 to deliver a checkmate to the black king. Notice that black can't capture the white pawn as the g pawn is pinned by the queen. This means that if the pawn was to move out of its way, the black king would simply be with check from the queen. Therefore, the black pawn on g7 is an absolute pin from the queen, so capturing the pawn would be illegal. To avoid the checkmate, black has only one good move. Black moves the g pawn to g6.

Cool. Black has avoided the checkmate, but is soon in for another attack. Having moved the g pawn, the square on g7 has now become a weakness, and it is very difficult to defend it in the future. White takes advantage of this and moves the queen to h6.

Awesome. We're now back again in this position where black has plenty of moves, but none that save them from the incoming checkmate on g7. White forced black to push the g pawn forward to create a weakness in g7 and will soon win the game. When we've castled our king, we generally want to be careful not to push the g pawn forward to g6 too often. This is of course also true for white's pawn not going to g3 too often. When we move the middle pawn up like how we did in the previous two examples, we create a weakness that can sometimes become dangerous. This isn't to say that it's always bad to play g6 or g3 for black and white respectively. At times, it might be a good option. An example could be when you have other pieces that can somehow defend the g7 square. Let's try and put a black knight on e6.

Nice. Black now defends the square on g7, and the checkmate is avoided. Try also to move that same knight over to f5.

Again, the knight is defending the weak square g7 and is this time also threatening the white queen. Having a knight to help defend the weak square on g7 makes moving the g6 pawn up a more safe move. Let's also try and add another defender. Remove the black rook from the board.

Now place a black bishop there instead.

Amazing. The dark square bishop is defending the g7 square and is even keeping the queen from staying on h6. The checkmate can be avoided by having some solid defenders around. With two extra pieces overlooking the dangerous square g7, black now feels a lot more secure, and the g pawn being pushed is all of a sudden a good defensive move. Pushing the g pawn after having castled is no mistake in itself, but we have to be sure that we can still defend the square in front of the king after we do so. Let's look at another way to attack the castle king. Set up the pieces as seen on the video.

Good job. In this situation, white is threatening a checkmate again. In a normal game, there will usually be more pieces on the board for both sides, but here we just isolated some of the key pieces to make the lesson more simple. Both the bishop and the queen are targeting the pawn on g7, and so black has to react to the attack. Black can either move the f pawn to f6 or the g pawn to g6, and both moves would prevent the immediate checkmate. Let's see what happens if black decides to push the f pawn. Move the pawn from f7 to f6.

Black pushed the f pawn to f6 and has now interfered with the bishop's line towards the g7 pawn and in the same move attack the white queen. White can no longer checkmate on g7 and even has to retreat the queen from the attack. Playing f6 was a good defensive option for black. Let's see what happens if black instead pushed the g pawn up instead of the f pawn. Move the f pawn back to f7.

Now push the g pawn from g7 to g6.

Great! The immediate attack is avoided, but now that the g pawn is pushed, the diagonal on the dark squares towards the king has become weakened. White quickly responds with another threat. Move the white queen to f6.

Awesome. By moving the queen to f6, you have now lined up the bishop and queen on the same diagonal pointing towards the black king. When the queen is in line with another piece like this, we call it a battery. The bishop and queen is creating a battery towards the black king. When our pieces are following the same attacking idea, as in this case, we can say that our pieces are well coordinated. Piece coordination is a vital part of any good attack in chess, and it's always a good idea to make your pieces find a common target to attack together. Black is again in trouble. In our next move, we can move the queen to both g7 and h8, and both squares would be a checkmate. Black has plenty of moves, but none of them can avoid the incoming checkmate and so black is once again in an unstoppable checkmate. Let's take a look at one last example of how we can attack the castle king. Start by removing all the pieces from the board.

Now set up the pieces as seen on the video.

Awesome. In this situation, it's white's turn and white wants to find a way to eventually checkmate the black king. Notice here that black has castled the king to safety, but has also at some point moved the g pawn to g6. This could become problematic in the future as the square g7 is now weak and undefended. White wants to take advantage of this weakness and comes up with a plan to attack it. Move the queen to d2.

Nice. With the queen now one square up the board, it is getting ready to sneak into black's defense by going to the h6 square. Black senses the danger and wants to get rid of the bishop before it's too late. Black moves the knight to d7.

The black knight is threatening the bishop, but white can calmly proceed with its attack. The queen now moves to h6.

Great. The queen and the bishop are both targeting the weak g7 square, and so a checkmate would soon follow if black can't defend. Black tries to get rid of the danger by moving the knight to f6 to capture the bishop.

The bishop is gone and the danger is avoided for black, but white soon has a new threat. White captures back the knight by moving the pawn on e5 to f6.

We're left again in a position that looks similar to what we've seen before. The white pawn and the white queen are both targeting the g7 square, and black is facing an unstoppable checkmate. Black has plenty of moves, but none of them can defend against the pending checkmate on g7, and so white will win the game. Even though black had castled into safety, white found a weakness in black's defense and coordinated its pieces together to attack the weak square on g7. Notice here that the black bishop on a5 would have been a great defender of the checkmate had it been moved to f8 where the rook is currently placed. However, to move the rook out of the way and afterwards maneuver the bishop back there would have taken too many moves for black, and white would have had time to deliver the checkmate before the bishop had time to defend. Keeping your best defenders close to the king is often a good decision. And in this game, it cost black the game to have brought the bishop too far away from the king. Whenever you've castled your king on the king side, it's important to be careful not to push the pawns in front of the king before having made sure that the weaknesses left behind them are somehow taken care of by your other pieces. In the same way, whenever you see your opponent start to push pawns around the king, you should look for weaknesses that you can attack. You now know some common ways to attack and defend around the castled king.