He challenged 13-term incumbent Congressman Paul Kanjorski in the May 2010 Democratic primary. O'Brien received 33.9% of the vote, while Brian Kelly received 16.8% of the vote, and Kanjorski won with 49.3% of the vote. In the general election, Kanjorski was defeated by Republican Lou Barletta.
