Longest mate in King and Rook versus King and Bishop endgame

Mate in 29

Also available in PGN notation.

White to move
Mate in 29 with Rf3. Worse are Kc5, Kc6, Kd7, Ke5, Ke7, Ra1, Ra2, Ra4, Ra5, Ra6, Ra7, Ra8+, Rb3+, Rc3, Rd3, Re3, Rg3 and Rh3 which throw away the win.
1. Rf3
White mates in 28 after Kb7. Worse are Bc4 when White mates in 23, Ba2 and Ka7 when White mates in 19, Bh7 when White mates in 10, Bd5 and Be6 when White mates in 9, Kc8 when White mates in 8, Bf7 when White mates in 5, Bb3 when White mates in 4, and Ka8 when White mates in 3.
1... Kb7
Mate in 28 with Rf4. Worse are Kc5, Kd7, Ke5, Ke7, Ra3, Rb3+, Rc3, Rd3, Re3, Rf1, Rf2, Rf5, Rf6, Rf7+, Rf8, Rg3 and Rh3 which throw away the win.
2. Rf4
White mates in 27 after Ka6. Worse are Ba2 when White mates in 26, Kb6 when White mates in 24, Ka7 when White mates in 23, Bd5, Be6 and Bh7 when White mates in 9, Kb8 and Kc8 when White mates in 8, Bb3, Bc4 and Bf7 when White mates in 7, and Ka8 when White mates in 4.
2... Ka6
Mate in 27 with Kc5. Worse are Kc6, Kc7, Kd7, Ke5, Ke7, Ra4+, Rb4, Rc4, Rd4, Re4, Rf1, Rf2, Rf3, Rf5, Rf6, Rf7, Rf8, Rg4 and Rh4 which throw away the win.
3. Kc5
White mates in 26 after Kb7. Worse are Bb3 and Ka7 when White mates in 23, Bh7 when White mates in 12, Ka5 when White mates in 10, Bd5 when White mates in 9, Ba2 and Be6 when White mates in 8, Bc4 when White mates in 5, and Bf7 when White mates in 2.
3... Kb7
Mate in 26 with Rg4. Worse are Re4 with mate in 27, Kd6 with mate in 28, and Kb4, Kb5, Kd4, Ra4, Rb4+, Rc4, Rd4, Rf1, Rf2, Rf3, Rf5, Rf6, Rf7+, Rf8 and Rh4 which throw away the win.
4. Rg4
White mates in 25 after Ba2. Worse are Be6 when White mates in 24, Kc7 and Kc8 when White mates in 11, Bb3 and Bd5 when White mates in 9, Bh7 and Kb8 when White mates in 8, Bc4 and Bf7 when White mates in 7, Ka6 and Ka7 when White mates in 6, and Ka8 when White mates in 5.
4... Ba2
Mate in 25 with Rg2. Worse are Kd6 and Rg7+ with mate in 27, Re4 with mate in 28, and Kb4, Kb5, Kd4, Ra4, Rb4+, Rc4, Rd4, Rf4, Rg1, Rg3, Rg5, Rg6, Rg8 and Rh4 which throw away the win.
5. Rg2
White mates in 24 after Be6. Worse are Bb1, Bb3, Bc4 and Bd5 when White mates in 9, Bg8, Kc7 and Kc8 when White mates in 8, Bf7, Ka6, Ka7 and Kb8 when White mates in 7, and Ka8 when White mates in 5.
5... Be6
Mate in 24 with Rg7+. Worse are Kb4, Kb5, Kd4, Kd6, Ra2, Rb2+, Rc2, Rd2, Re2, Rf2, Rg1, Rg3, Rg4, Rg5, Rg6, Rg8 and Rh2 which throw away the win.
6. Rg7+
White mates in 23 after Kc8. Worse are Kb8 when White mates in 22, Ka6 and Ka8 when White mates in 8, and Bd7 and Bf7 when White mates in 5.
6... Kc8
Mate in 23 with Kd6. Worse are Kb4, Kb5, Kb6, Kc6, Kd4, Ra7, Rb7, Rc7+, Rd7, Re7, Rf7, Rg1, Rg2, Rg3, Rg4, Rg5, Rg6, Rg8+ and Rh7 which throw away the win.
7. Kd6
White mates in 22 after Ba2, Bb3, Bf5 and Bh3. Worse are Bc4 and Bg8 when White mates in 7, Bd5 and Bg4 when White mates in 6, Bd7, Kb8 and Kd8 when White mates in 5, and Bf7 when White mates in 4.
7... Bh3
Mate in 22 with Rc7+. Worse are Kc5, Kc6, Kd5, Ke5, Ke7, Ra7, Rb7, Rd7, Re7, Rf7, Rg1, Rg2, Rg3, Rg4, Rg5, Rg6, Rg8+ and Rh7 which throw away the win.
8. Rc7+
White mates in 21 after Kb8. Worse is Kd8 when White mates in 10.
8... Kb8
Mate in 21 with Kc6. Worse are Kc5, Kd5, Ke5, Ke7, Ra7, Rb7+, Rc1, Rc2, Rc3, Rc4, Rc5, Rc6, Rc8+, Rd7, Re7, Rf7, Rg7 and Rh7 which throw away the win.
9. Kc6
White mates in 20 after Bf5. Worse are Bf1, Bg2+ and Bg4 when White mates in 17, Bc8 when White mates in 14, Be6 when White mates in 8, Ka8 when White mates in 7, and Bd7+ when White mates in 4.
9... Bf5
Mate in 20 with Kb6. Worse are Re7 with mate in 22, and Kb5, Kc5, Kd5, Kd6, Ra7, Rb7+, Rc8+, Rd7, Rf7, Rg7 and Rh7 which throw away the win.
10. Kb6
White mates in 19 after Bb1. Worse are Be4 when White mates in 16, Bg6 when White mates in 15, Bg4 and Bh3 when White mates in 12, Be6 and Bh7 when White mates in 8, Bc8, Bd3 and Ka8 when White mates in 4, Bd7 when White mates in 3, and Bc2 when White mates in 2.
10... Bb1
Mate in 19 with Rc1 and Rc4. Worse are Rc3, Rc5 and Rc6 with mate in 20, Kc6 with mate in 21, and Ka5, Ka6, Kb5, Kc5, Ra7, Rb7+, Rc2, Rc8+, Rd7, Re7, Rf7, Rg7 and Rh7 which throw away the win.
11. Rc4
White mates in 18 after Ba2. Worse are Bg6 when White mates in 16, Bf5 and Bh7 when White mates in 13, Bd3 when White mates in 4, Be4 when White mates in 3, Bc2 when White mates in 2, and Ka8 when White mates in 1.
11... Ba2
Mate in 18 with Ra4. Worse are Rc1, Rc2 and Rc3 with mate in 19, Rc5, Rc6 and Rc7 with mate in 20, and Ka5, Ka6, Kb5, Kc5, Kc6, Rb4, Rc8+, Rd4, Re4, Rf4, Rg4 and Rh4 which throw away the win.
12. Ra4
White mates in 17 after Bb1 and Bb3. Worse are Be6 when White mates in 16, Bf7 and Bg8 when White mates in 15, Kc8 when White mates in 11, Bd5 when White mates in 4, and Bc4 when White mates in 2.
12... Bb1
Mate in 17 with Rb4. Worse are Ra1 with mate in 18, Rc4 with mate in 19, and Ka5, Ka6, Kb5, Kc5, Kc6, Ra2, Ra3, Ra5, Ra6, Ra7, Ra8+, Rd4, Re4, Rf4, Rg4 and Rh4 which throw away the win.
13. Rb4
White mates in 16 after Bg6. Worse are Bc2 when White mates in 15, Bf5, Bh7 and Kc8 when White mates in 13, Ba2 when White mates in 12, Bd3 when White mates in 4, and Be4 and Ka8 when White mates in 3.
13... Bg6
Mate in 16 with Rg4. Worse are Rc4 with mate in 18, and Ka5+, Ka6+, Kb5, Kc5+, Kc6+, Ra4, Rb1, Rb2, Rb3, Rb5, Rd4, Re4, Rf4 and Rh4 which throw away the win.
14. Rg4
White mates in 15 after Bf7. Worse are Be8 when White mates in 14, Kc8 when White mates in 10, Bh7 when White mates in 9, Bf5 when White mates in 3, Bh5 and Ka8 when White mates in 2, and Bb1, Bc2, Bd3 and Be4 when White mates in 1.
14... Bf7
Mate in 15 with Rf4. Worse are Rg7 with mate in 20, and Ka5, Ka6, Kb5, Kc5, Kc6, Ra4, Rb4, Rc4, Rd4, Re4, Rg1, Rg2, Rg3, Rg5, Rg6, Rg8+ and Rh4 which throw away the win.
15. Rf4
White mates in 14 after Be8. Worse are Kc8 when White mates in 9, Be6 when White mates in 3, Bg6, Bh5 and Ka8 when White mates in 2, and Ba2, Bb3, Bc4, Bd5 and Bg8 when White mates in 1.
15... Be8
Mate in 14 with Rf8. Worse are Rc4 and Re4 with mate in 17, and Ka5, Ka6, Kc5, Ra4, Rb4, Rd4, Rf1, Rf2, Rf3, Rf5, Rf6, Rf7, Rg4 and Rh4 which throw away the win.
16. Rf8
White mates in 13 after Kc8. Worse is Ka8 when White mates in 1.
16... Kc8
Mate in 13 with Rxe8+. Worse are Ka5, Ka6, Ka7, Kc5, Rf1, Rf2, Rf3, Rf4, Rf5, Rf6, Rf7, Rg8 and Rh8 which throw away the win.
17. Rxe8+
White mates in 12 after Kd7.
17... Kd7
Mate in 12 with Re5. Worse are Ra8, Rg8 and Rh8 with mate in 13, Rb8, Re1, Re2, Re3, Re4 and Rf8 with mate in 14, and Ka5, Ka6, Ka7, Kb5, Kb7, Kc5, Rc8, Rd8+, Re6 and Re7+ which throw away the win.
18. Re5
White mates in 11 after Kd6. Worse are Kc8 and Kd8 when White mates in 2.
18... Kd6
Mate in 11 with Rc5 and Rh5. Worse are Ra5, Rb5 and Rg5 with mate in 12, Re8 and Rf5 with mate in 13, Re1 and Re4 with mate in 14, Re2 and Re3 with mate in 15, and Ka5, Ka6, Ka7, Kb5, Kb7, Rd5+, Re6+ and Re7 which throw away the win.
19. Rc5
White mates in 10 after Ke7. Worse are Kd7 and Ke6 when White mates in 9.
19... Ke7
Mate in 10 with Kc6, Kc7 and Rc6. Worse are Rd5 with mate in 11, Kb5, Kb7, Ra5, Rb5, Re5+, Rg5 and Rh5 with mate in 12, and Ka5, Ka6, Ka7, Rc1, Rc2, Rc3, Rc4, Rc7+, Rc8 and Rf5 with mate in 13.
20. Kc6
White mates in 9 after Ke6. Worse are Ke8 and Kf7 when White mates in 8, Kf6 and Kf8 when White mates in 7, and Kd8 when White mates in 2.
20... Ke6
Mate in 9 with Kc7 and Rd5. Worse are Ra5, Rb5 and Rh5 with mate in 10, Rg5 with mate in 11, Kb5, Kb6, Kb7 and Rc4 with mate in 12, Rc1, Rc2 and Rc3 with mate in 13, and Re5+ and Rf5 which throw away the win.
21. Rd5
White mates in 8 after Ke7 and Kf7. Worse is Kf6 when White mates in 7.
21... Ke7
Mate in 8 with Rd6. Worse are Re5+ with mate in 9, Kc5, Kc7, Ra5, Rb5, Rc5, Rf5 and Rh5 with mate in 10, Kb5, Kb6, Kb7, Rd1, Rd2, Rd3, Rd4 and Rg5 with mate in 11, Rd7+ with mate in 12, and Rd8 which throws away the win.
22. Rd6
White mates in 7 after Ke8. Worse are Kf7 and Kf8 when White mates in 6.
22... Ke8
Mate in 7 with Rd7. Worse are Re6+ with mate in 8, Kb5, Kb6, Kb7, Kc5, Kc7, Kd5, Rd1, Rd2, Rd3, Rd4, Rd5, Rf6, Rg6 and Rh6 with mate in 9, and Rd8+ which throws away the win.
23. Rd7
White mates in 6 after Kf8.
23... Kf8
Mate in 6 with Kc5, Kc7, Kd5, Kd6, Ra7, Rb7 and Rc7. Worse are Kb6, Kb7 and Rh7 with mate in 7, Kb5 and Rd6 with mate in 8, Rd1, Rd2, Rd3, Rd4, Rd5 and Rd8+ with mate in 9, and Re7, Rf7+ and Rg7 which throw away the win.
24. Kd5
White mates in 5 after Ke8 and Kg8.
24... Ke8
Mate in 5 with Kd6 and Ke6. Worse are Rh7 with mate in 6, Kc6, Ra7, Rb7, Rc7 and Rg7 with mate in 7, Rd6 with mate in 9, and Kc4, Kc5, Kd4, Ke4, Ke5, Rd8+, Re7+ and Rf7 which throw away the win.
25. Ke6
White mates in 4 after Kf8.
25... Kf8
Mate in 4 with Kf6, Ra7, Rb7 and Rc7. Worse are Rd6, Re7, Rf7+ and Rh7 with mate in 5, Kd5, Kd6, Ke5, Kf5, Rd1, Rd2, Rd3, Rd4 and Rd5 with mate in 6, Rd8+ with mate in 7, and Rg7 which throws away the win.
26. Rc7
White mates in 3 after Kg8. Worse is Ke8 when White mates in 1.
26... Kg8
Mate in 3 with Kf6. Worse are Rf7 with mate in 4, Kd5, Kd6, Ke5, Ke7, Kf5, Ra7, Rb7, Rc6, Rd7 and Re7 with mate in 5, Rc1, Rc2, Rc3, Rc4 and Rc5 with mate in 6, Kd7 and Rc8+ with mate in 7, and Rg7+ and Rh7 which throw away the win.
27. Kf6
White mates in 2 after Kh8. Worse is Kf8 when White mates in 1.
27... Kh8
Mate in 2 with Kg6. Worse are Kf7, Rc1, Rc2, Rc3, Rc4, Rc5, Rc8+ and Rf7 with mate in 3, Ke5, Ke6, Kf5, Kg5, Ra7, Rb7, Rc6, Rd7 and Re7 with mate in 4, Ke7 with mate in 5, and Rg7 and Rh7+ which throw away the win.
28. Kg6
White mates in 1 after Kg8.
28... Kg8
Mate in 1 with Rc8#. Worse are Rf7 with mate in 2, Kf6, Rc1, Rc2, Rc3, Rc4, Rc5, Rc6 and Re7 with mate in 3, Kf5 and Rd7 with mate in 5, Kg5 with mate in 7, Ra7, Rb7, Rg7+ and Rh7 with mate in 8, and Kh5 and Kh6 with mate in 10.
29. Rc8#
Checkmate.
1-0


An endgame analysis by Joe Leslie-Hurd on 16 February 2005.