Did Black castle legally in my last game?

Sort:
daarthskarn
Did black castle legally in my last blitz game that I lost to btblasingame? I thought my dark squared bishop would have prevented that? Please see move 17 in my game with btblasingame for more information. Thank you for any answers about the rules. I’m still learning.
Onlysane1

The king can not castle through an attacked square, but the rook can. A rook that is attacked by an enemy piece can still castle, just the king must remain save in its square of origin and any squares it moves through.

daarthskarn
That’s a tricky rule. After reading your comment and looking at it in my game, I understand now. Thank you!
IMKeto

Dont feel bad.  Victor Korchnoi had the same question during a game against Karpov in their world championship match.