Elisha Cook Jr.

Actor (Samuel T. Cogley) — The Original Series

American character actor (1903–1995), familiar from The Maltese Falcon and many film noirs, who played Kirk's book-loving defence lawyer Samuel T. Cogley in Court Martial.

Elisha Cook Jr. was an American character actor, born in 1903, who specialised in nervous small-time crooks and victims in films such as The Maltese Falcon, The Big Sleep, Shane and The Killing.
In Star Trek he guest stars in the first-season episode Court Martial, first shown in 1967. He plays Samuel T. Cogley, an eccentric attorney who distrusts computers and fills his rooms with printed law books. Cogley defends Kirk against a charge of causing the death of Ben Finney and argues that a man has the right to face the machine that accuses him.
Cook continued working into the 1980s, with a recurring role in Magnum, P.I. He died in 1995.