Kate and Castle tackle a tricky case on the episode "Dial M for Mayor." It has to do with Castle's buddy, the mayor himself.
Added:

Castle Season 4 Episode 12 Quotes

An officer and a gentleman. That could be the name of our crime log.

Castle

She's the best.

Castle (about Beckett)