Hillary Clinton scored a thumping victory Tuesday over Donald Trump in Maryland on the strength of Democratic votes in the state's urban regions.

Maryland was one of the first states called in the presidential race after the polls closed at 8 p.m. Never regarded as a battleground state, it received little attention from either candidate in the general election.

The former secretary of state ran up landslide margins in Baltimore and the Washington suburbs, easily overcoming Trump's appeal in Republican strongholds such as the Eastern Shore and Western Maryland.

Maryland has not voted for a Republican for president since 1988, when George H. W. Bush defeated Democrat Michael S. Dukakis in a national rout. Maryland gave Barack Obama some of his highest margins in the country in 2008 and 2012.

Maryland has the fourth-highest concentration of African-American voters among the 50 states. Polls showed Clinton winning close to 90 percent of the black vote nationally.

Maryland did not receive as much attention from pollsters as states that were seen as competitive. An early September poll by OpinionWorks in Annapolis showed Clinton leading Trump by about 30 points, and winning among men, women, blacks, whites and all age categories.

Katie Mackey, 46, who lives in Glenelg in western Howard County, said hers is a "divided house." She went to Folly Quarter Middle School with her 9-year-old daughter, Ann, to vote for Clinton. But she expected her husband to vote for Trump, with her 13-year-old son cheering him on.

"In her lifetime, she's only known a black president and probably will know a woman president," Mackey said.

Unlike Mitt Romney in 2012, Trump did not enjoy the unified backing of his party here.

Even before Trump won the Republican nomination, popular Republican Gov. Larry Hogan said he would not vote for him.

Hogan's office said Tuesday night that he had written in the name of his father, former Rep. Lawrence J. Hogan Sr. The vote won't be tallied because the senior Hogan isn't a registered write-in candidate.

While some Republican elected officials here supported their nominee enthusiastically, others gave him only nominal backing while doing little to advance his campaign. Some said their priority was 2018, when Hogan will be up for re-election.

One of Trump's signature issues, immigration, never seemed to gain the traction here that it did elsewhere. In some parts of the state, such as Howard County, it appeared to cut against him.

Tyler Petrini, a 30-year-old teacher at Howard High School, pointed to the issue in explaining his vote for Clinton.

"I teach Spanish, and my heart is with the Latino people," said Petrini, who adopted a son from Mexico.

"I accepted the character flaws of Hillary Clinton, and with Tim Kaine I found it to be a very attractive ticket," he said.

But Trump's call to build a wall along the Mexican border helped him with Michele Francis. The 58-year-old Marydel woman cast her vote for the Republican at the Goldsboro Fire Hall in rural Caroline County with her 31-year-old daughter, Michele Burris.

Francis said immigration is her greatest concern. Caroline County is seeing increasing numbers of Latino immigrants. She has sympathy for them, she said, but doesn't think that allowing so many to come to the United States is the best choice.

Some voters backed Trump despite misgivings. Kenny Blevins, owner of Blevins Heating and Cooling, said outside his Fallston polling place that he went over to Trump after backing Ben Carson in the GOP nomination contest, despite concerns about the businessman's flaws.

"He is not a model citizen," said Blevins, 54. He said he thought of "jumping parties," but doesn't like Clinton. And he wants to clean up Washington.

"The good old boys' club isn't working," he said. "They roll in there and roll out millionaires."