Matt Dugan beat a titan of Allegheny County’s Democratic Party on Tuesday, topping Stephen A. Zappala Jr. at the ballot box for district attorney for the first time in Mr. Zappala’s quarter-century political career.

Mr. Dugan, the county’s chief public defender, performed well all over the map. It wasn’t just a strong showing in Pittsburgh that would be expected for a progressive challenger. He also won wide swaths of the county’s northern and western suburbs, including parts of North Fayette, South Fayette, Findlay, Moon, Franklin Park, Marshall and Upper Saint Clair.

Mr. Zappala was strongest in the county’s northeast and southeast suburbs, winning areas that included parts of Plum, Monroeville, North Versailles, and Elizabeth Township.

Check out our interactive map below to see where each candidate was strongest.