Longtime Rep. Pete Stark (D-Calif.) lost his bid for a 21st term on Tuesday.

He was defeated by a fellow Democrat, Eric Swalwell, who took 53 percent to Stark's 47 percent. The Associated Press has called the race.

Stark was the dean of the California delegation and, ironically, in 1973 replaced longtime GOP Rep. George Miller, who was the longest-serving California lawmaker at the time.

Stalwell attacked Stark for being too old and out of touch for the district, which was not changed much during the redistricting process.