As millions of Americans join queues across the country to cast their ballots on Election Day, one vote has stood out from the rest.

Yosef Rapaport, an Orthodox Jewish immigrant living in Brooklyn, dedicated his vote to US Captain Humayun Khan, a Muslim-American soldier who was killed serving in Iraq and whose father famously slammed Donald Trump’s proposed Muslim ban at a Democrat convention.

Tweeting from a polling place in the New York City borough, 62-year-old Mr Rapaport, posted a picture of his unmarked ballot paper next to an image of Captain Khan, with the caption: “I'm an Orthodox Jewish Immigrant My vote is private. Dedicated in honor of US CPT Khan, his devotion makes (religious) freedom possible.”

Captain Khan was killed in action in June 2004 after a car bomb detonated near Baqubah, and "died trying to save the lives of innocent Iraqis", according to the general who commanded the US military unit.

Speaking at the DNC in July, Captain Khan’s father Khizr Khan delivered a stinging rebuke to Mr Trump for ignoring the US Constitution and “consistently smearing the character of Muslims.”

He castigated Mr Trump for his proposal to ban Muslims from entering the US, saying that under a Trump presidency, his son would never have been born in the country, let alone allowed to serve in its armed forces, while brandishing a copy of the US constitution.

“Following the issue during the campaign about the loyalty of Muslims, he [Captain Khan] is a prime example of why religious bigotry is wrong and a prime example of the opposite; of how we can come together in one country dedicated to an ideal of religious freedom,” Mr Rapaport, who did not reveal explicitly who he had voted for, told The Independent.

US election 2016: the race for the White House in pictures Show all 12 1 /12 US election 2016: the race for the White House in pictures US election 2016: the race for the White House in pictures Republican U.S. presidential nominee Donald Trump shakes hands with Democratic U.S. presidential nominee Hillary Clinton at the conclusion of their first presidential debate at Hofstra University in Hempstead, New York Reuters US election 2016: the race for the White House in pictures President Barack Obama embraces Democratic nominee Hillary Clinton on stage at the party's convention in Philadelphia US election 2016: the race for the White House in pictures Donald Trump's wife Melania delivered a speech at the GOP convention in Cleveland that was later found to have been cribbed in part from Michelle Obama's 2008 convention address AP US election 2016: the race for the White House in pictures Hillary Clinton talks to reporters aboard her new campaign plane on Labour Day, 5 September, her first 'press conference' since 2015 (Getty Images) US election 2016: the race for the White House in pictures Donald Trump held a joint press conference with Mexican leader Enrique Pena Nieto in Mexico City in August, hours before reiterating his harsh immigration plans at a campaign rally in Arizona Reuters US election 2016: the race for the White House in pictures Bernie Sanders officially endorsed Hillary Clinton, saying his progressive vision for ‘a transformed America’ would be ’best served by the defeat of Donald Trump’ Reuters US election 2016: the race for the White House in pictures Khizr and Gazala Khan appeared at the DNC to slam Trump for his stance on Muslim immigration, citing the case of their son Humayun Khan, who was killed in combat while serving as a Captain in the US Army in Iraq US election 2016: the race for the White House in pictures Libertarian candidate Gary Johnson is doing better in polls than any third party candidate since Ross Perot, 20 years ago Nicholas Kamm/AFP/Getty US election 2016: the race for the White House in pictures Green Party candidate Jill Stein (centre) marches with supporters in Colorado AP US election 2016: the race for the White House in pictures Hillary Clinton and Virginia Senator Tim Kaine at a rally in Kaine's home state in July, days before Ms Clinton tapped him to be her running mate Getty US election 2016: the race for the White House in pictures Trump on the campaign trail with his vice presidential pick, Indiana governor Mike Pence AP US election 2016: the race for the White House in pictures Former Ukip leader Nigel Farage appears at a Trump rally in Mississippi in August, where he told the crowd that he 'wouldn't vote for Hillary Clinton if you paid me'.

“I care if the private religious practice of a certain group gets attacked, as I feel that’s an attack on my practice.

“We can still respect each other’s traditions and right to practice religious beliefs in our own private ways, that is what America is all about and that religious freedom is very, very important to me. If you look at me I’m a religious person […] and I am thankful to the ultimate devotion of someone else who makes my life possible as a religious Jew in America.”

Mr Rapaport said he was overwhelmed by the response to his Tweet, which has been shared and liked nearly 12,000 times. “Most of the responses have been amazing,” he said. “One man said his wife had died in combat and was thankful for my dedication.”

Speaking about this year’s election, Mr Rapaport, who immigrated to the US 40 years ago from Canada where his parents arrived as holocaust survivors and refugees after World War Two, said: “I’ll be glad when it is all over”, adding there had not been a “good feeling” throughout the Presidential campaigns.