Which sentence demonstrates correct comma usage?

a.
Andrew Hamilton, a lawyer from Philadelphia Pennsylvania defended Zenger and won, thereby establishing that papers could freely print the truth.
b.
Andrew Hamilton, a lawyer from Philadelphia, Pennsylvania, defended Zenger and won, thereby establishing that papers could freely print the truth.
c.
Andrew Hamilton a lawyer from Philadelphia, Pennsylvania, defended Zenger and won thereby, establishing that papers could freely print the truth.
d.
Andrew Hamilton, a lawyer from Philadelphia, Pennsylvania defended Zenger and won, thereby, establishing that papers could freely print the truth.

A
B
C
D

B. Andrew Hamilton, a lawyer from Philadelphia, Pennsylvania, defended Zenger and won, thereby establishing that papers could freely print the truth.