How an Ulsterman is wrapped up in the origin story of The Star Spangled Banner
As the dust from a British bombardment settled over Baltimore, a lawyer looked up at the flag still flying triumphantly above Fort McHenry - named after James McHenry - and was inspired to write a poem.
"Oh, say, can you see, by the dawn's early light / What so proudly we hailed at the twilight's last gleaming?"
On Thursday, which was Thanksgiving Day in America, a blue plaque was erected in Ballymena from where McHenry emigrated in 1771, aged 18.
He was a surgeon, soldier, slave owner and founding father.
A friend of George Washington and Alexander Hamilton, McHenry was a political heavyweight of his day and now, according to historian David Hume, his legacy has been officially recognised in his hometown.
Standing beside the tribute to McHenry, which was unveiled in People's Park in Ballymena, Hume says he was at the centre of some of the major events which led to the formation of the United States of America.
"When you look at the connection with James McHenry, there's the connection with the American Revolution, which he was very involved with.
"He's one of the drafters of the constitution, so he's regarded as one of the founding fathers."
A fort, a lawyer and a star-spangled banner
One of the most interesting facets of McHenry's legacy is how he's associated with the national anthem of the United States, The Star-Spangled Banner.
McHenry, a man of high social standing, had a fort named after him in Baltimore - Fort McHenry.
Hume explains the rest.
"So, the fort was named after him in his honour, and during the War of 1812 - what some Americans call the Second War of Independence - Fort McHenry was bombarded by the British forces."
Francis Scott Key, a lawyer, found himself in the fray that day.
"In the middle of all that, Key was supposed to have looked at Fort McHenry and seen this flag was still flying and that gave him the inspiration - you know, our flag still waving type thing - to write some verses."
Hume says this "in a roundabout way" connects Ballymena to one of the most famous songs ever written.
Who was James McHenry?
Born in 1753 to a Presbyterian family in Ballymena, McHenry was educated in Dublin before emigrating to America.
He studied medicine and then joined George Washington's army to fight the British.
After being captured, imprisoned and released, McHenry became a close friend of Washington. The young immigrant became Washington's assistant secretary and later his first secretary of war.
At the end of the war, Washington wrote a letter of recommendation for McHenry: "A man of letters and abilities, of great integrity, sobriety and prudence… of an amiable temper; very obliging, and of polished manners."
From military medic to statesman
In 1781 McHenry left the army and was elected to the senate in Maryland, a political path that led him to become one of 38 people to sign the Constitution of the United States on 17 September 1787.
As Washington's secretary of war, McHenry reformed and enlarged the US army.
He continued to serve under the US's second president, John Adams, but found himself caught up in rows between Adams and McHenry's Alexander Hamilton.
The conflicting dynamics became too much and McHenry was forced to resign because of his loyalty to Hamilton.
Slaver or abolitionist?
Although McHenry declared himself to believe in equality of sexes and races, like many of the founding fathers, he was a slave owner.
Hume says while slavery was "an institution at that time... it differed from state to state" and in some areas there was more of a move towards the idea of emancipation.
"So, although McHenry had slaves, household slaves, he was - what we would say - a gradual emancipationist."
This means that while McHenry never called for an unqualified and immediate end to slavery, he advocated for the practice to be phased out.
So does Hume think McHenry was right or wrong?
"It's complicated," he says.
"He believed in the long term slaves should be freed, but in the short term there was the issue of what do you do if you don't have these people, who helps to run my estate and so on too?
"For me, (McHenry) is on the side of abolition, but it's a gradual abolition that he's suggesting."
'The circle is complete'
The Ulster History Circle has erected more than 200 commemorative blue plaques in honour of men and women from Ulster.
Committee member Seamus McKee says the unveiling of the plaque was loaded with symbolism.
"We're delighted as the Ulster History Circle to be here on Thanksgiving Day, to put up the plaque to someone who was in at the very start of the United States of America, its foundation and its earliest administration.
"It's like he's never been away once that plaque goes up.
"So the circle is completed and that tells the story for me," says McKee.
A small crowd gathered outside the pavilion in People's Park to witness the curtains being pulled on the plaque.
Jackie Neill was one of them.
"Anytime Ballymena is mentioned - people who've come from the town and gone abroad and done great things - it's great for the town.
"It's wonderful to have something like this that people can come and see and appreciate."
Neill says she is an example of how a seemingly small public recognition can help bring a historical figure into the present public consciousness.
"I didn't know very much about the man until I looked up the information and it's just really good for the town and the area that we have that."