Rep. Brad Sherman (D-Calif.) defeated fellow Democratic Rep. Howard Berman in their member-vs.-member match-up.
It was a nasty campaign, with the two lawmakers almost coming to blows during a debate and having to be separated by a police officer.
The redistricting process put the two men in the same seat, which contained much of Sherman's old territory. Under California's new primary system, the top two vote-getters, regardless of party, move on to the general election.
Democratic leadership indicated a preference for Berman, with Rep. Steny Hoyer (D-Md.), the No. 2 in leadership, endorsing him. Berman also had the endorsement of prominent Republicans like Sens. John McCainJohn McCainFox News bests major networks in convention ratings Meghan McCain: ‘I no longer recognize my party’ Why a bill about catfish will show whether Ryan's serious about regulatory reform MORE (R-Ariz.) and Lindsey GrahamLindsey GrahamVulnerable GOP senators praise Kaine Meghan McCain: ‘I no longer recognize my party’ Ex-UN ambassador John Bolton: Trump should take back NATO remarks MORE (R-S.C.), who cited his work on the House Foreign Affairs Committee.
Sherman, meanwhile, had the support of former President Clinton.
—This story was updated at 5:28 a.m.