MELROSE — About 23 percent of the city’s 18,797 registered voters took part in Tuesday’s party primary elections, with results mirroring those around the region and across the state.

Prospect Street’s Katherine Clark will continue to represent the area in Congress for two more years after she handily defeated Lexington physician Sheldon Schwartz. The total in Melrose was 2,803 to 538, with 166 blanks and four write-ins. There was no Republican running for the 5th Congressional District seat.

About 43 percent of those Melrosians voting in the Democratic primary for governor picked current Attorney General Martha Coakley over Treasurer Steven Grossman and Donald Berwick. Charles Baker won the Republican primary for governor in Melrose with 78 percent of the vote over Mark Fisher.

Melrose was well-represented on the primary ballots. Republican Monica Medeiros, for example, ran unopposed in her party primary for state Senate and received nearly 88 percent of the local vote. She will battle incumbent Democrat Jason Lewis leading up the November 4 general election. Earlier this year, Medeiros made a strong showing despite losing to Lewis in the special election to fill Clark’s seat in the Fifth Middlesex District.

Paul Brodeur, one-time Melrose alderman-at-large and now state representative, will face Greenwood Republican John Lock in the general election. On Tuesday, Brodeur received over 72 percent of the Democratic vote, while Lock received 71 percent of the Melrose Republican vote.

Melrosians, like others who live in Middlesex County, chose sitting District Attorney Marian Ryan over challenger Michael Sullivan in the Democratic primary. The total here was Ryan 1,917, Sullivan 1,212. There was no Republican candidate for district attorney.