Hazleton Mayor Lou Barletta, who gained national prominence by targeting illegal immigrants living in his small northeastern Pennsylvania city, cruised to the Republican nomination for a third term yesterday - and unexpectedly won the Democratic nomination, too.

Barletta trounced GOP challenger Dee Deakos with nearly 94 percent of the vote. And he beat former Mayor Michael Marsicano for the Democratic nomination by staging a last-minute write-in campaign, unofficial returns showed.

"I think the message is clear," Barletta said. "The people of Hazleton want me to keep fighting for them."

The Republican mayor said Democrats kept telling him they wished they could vote for him in the primary. So, about a week ago, he mailed instructions to Democratic voters on how to write in his name.

Marsicano, a retired airline pilot who was Hazleton's mayor from 1996 to 1999, had appeared alone on the Democratic ballot.

Barletta, a businessman who took office in 2000, proposed the Illegal Immigration Relief Act last year after four illegal immigrants were charged with shooting and killing a man. The measure, on hold due to a legal challenge, was approved last summer.