Answers.Body: <p>Yes, it is legal. The King cannot move through check, however, the King will pass through both d8 and c8, which are both legal moves. The rook has no such limitation.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-16T00:11:23.270Z
Answers.Text: Famously, Kortchnoi once had to contact the arbiter to check the legality of castling in a position like your first example.
Answers.UserDisplayName: Philip Roe
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-17T20:56:48.103Z
Answers.Text: @PhilipRoe SOURCE PLEASE
Answers.UserDisplayName: BCLC
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-19T15:42:31.913Z
Answers.Text: The game is Korchnoi-Karpov, 1974 Candidates match, 21st game
Answers.UserDisplayName: Philip Roe
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-15T20:19:15.107Z
Answers.LastActivityDate: 2018-02-15T20:19:15.107Z
Answers.UserDisplayName: Chris G
Answers.Body: <p>Yes black is allowed to castle here. The castling would be invalidated if one of the squares along the path the king has to cross (<code>e8</code> to <code>g8</code> or <code>e8</code> to <code>c8</code>) was under attack by an opponent piece. In your position, for example if the bishop was on <code>c7</code>, or a knight was on <code>e6</code> then castling wouldn't be allowed. Whereas the bishop on <code>d6</code> eyeing <code>b8</code> only concerns the rook's path to complete castling, so long castling remains legal. </p>
  
  <p>Similarly, if the bishop was on <code>e5,</code> by the same logic short castling would still be allowed.</p>
  
  <pre><code> [title "Position"]
   [fen "r3k2r/pp1nnp2/2pB2pp/3p1p2/3P4/2N3PB/PPP1PP1P/R3K2R b KQkq - 0 1"]
  
   1...O-O-O
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-15T20:19:06.557Z
Answers.LastActivityDate: 2018-02-15T20:19:06.557Z
Answers.UserDisplayName: Ellie
Body: <p>Black's to move in a game I just played. My rival and I were wondering about castling.</p>
  <p>Exactly:</p>
  <ol>
  <li>White bishop in D6 threatens B8. Is legal for black to make long (queen) castle? (Black king and rooks have not moved)</li>
  <li>If white bishop were in E5 threatening H8, would be legal short (king) castle?</li>
  </ol>
  <p>Position:</p>
  <pre><code> [title &quot;-&quot;]
   [fen &quot;r3k2r/pp1nnp2/2pB2pp/3p1p2/3P4/2N3PB/PPP1PP1P/R3K2R b KQkq - 0 1&quot;]
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-16T07:04:03.233Z
Comments.Text: The correct term is "Black to move" not "Blacks to move"
Comments.UserDisplayName: StaleMate
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-10T14:50:22.927Z
Comments.Text: @StaleMate what's wrong with 'Black's to move' with 'Black's' as a shortcut for 'Black is' ?
Comments.UserDisplayName: BCLC
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-09-10T22:29:44.017Z
Comments.Text: What is wrong is that it's not the standard terminology.  Not a huge deal but when you stray from standard terminology it causes momentary confusion and a need to pause and figure out what you mean on the part of the listener.... like hitting an extra red light on your car trip.  The same applies in any field and also applies to things like spelling, grammar, vocabulary, and punctuation errors.
Comments.UserDisplayName: StaleMate
Tags: <rules><castling>
Title: Is castling legal in this position?
ThreadText: # Is castling legal in this position?
  
  (Asked by: username_0 on 2018-02-15)
  
  Black's to move in a game I just played. My rival and I were wondering about castling.
  Exactly:
  
  White bishop in D6 threatens B8. Is legal for black to make long (queen) castle? (Black king and rooks have not moved)
  If white bishop were in E5 threatening H8, would be legal short (king) castle?
  
  Position:
   [title "-"]
   [fen "r3k2r/pp1nnp2/2pB2pp/3p1p2/3P4/2N3PB/PPP1PP1P/R3K2R b KQkq - 0 1"]
  
  **Tags:** rules, castling
  
  > **Comments:**
  > **username_1**: The correct term is "Black to move" not "Blacks to move"  
  > **username_2**: @username_1 what's wrong with 'Black's to move' with 'Black's' as a shortcut for 'Black is' ?  
  > **username_1**: What is wrong is that it's not the standard terminology.  Not a huge deal but when you stray from standard terminology it causes momentary confusion and a need to pause and figure out what you mean on the part of the listener.... like hitting an extra red light on your car trip.  The same applies in any field and also applies to things like spelling, grammar, vocabulary, and punctuation errors.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_5 on 2018-02-15. Score: 9 | Accepted answer
  
  Yes black is allowed to castle here. The castling would be invalidated if one of the squares along the path the king has to cross (e8 to g8 or e8 to c8) was under attack by an opponent piece. In your position, for example if the bishop was on c7, or a knight was on e6 then castling wouldn't be allowed. Whereas the bishop on d6 eyeing b8 only concerns the rook's path to complete castling, so long castling remains legal. 
  Similarly, if the bishop was on e5, by the same logic short castling would still be allowed.
   [title "Position"]
   [fen "r3k2r/pp1nnp2/2pB2pp/3p1p2/3P4/2N3PB/PPP1PP1P/R3K2R b KQkq - 0 1"]
  
   1...O-O-O
  
  
  ---
  
  ### Answer by username_3 on 2018-02-15. Score: 5
  
  Yes, it is legal. The King cannot move through check, however, the King will pass through both d8 and c8, which are both legal moves. The rook has no such limitation.
  
  > **Comments:**
  > **username_4**: Famously, Kortchnoi once had to contact the arbiter to check the legality of castling in a position like your first example.  
  > **username_2**: @PhilipRoe SOURCE PLEASE  
  > **username_4**: The game is Korchnoi-Karpov, 1974 Candidates match, 21st game  
  
  ---
  
  