Has any elected representative ever been elected in more than one country?

As an aside, this gives rise to one of my favourite trivia trick questions: “What is the largest city in the United States named after a president?”

Houston made the jump twice. Prior to being elected as President of Texas he had been elected to office in the United States (as a Tennessee congressman and governor).

How about "What is the largest city in the United States named after a king?"New York. It wasn’t named for the province of York. It was named after the Duke of York, who became King James II.

And you could say that the largest city in the U.S. named after a queen is Los Angeles, named after Nuestra Señora la Reina de los Ángeles (Our Lady the Queen of the Angels).

All roads lead to Montpelier.

The late president of Ivory Coast, Félix Houphouët-Boigny, had been member of the French parliament and minister.

I’d guess there has been other similar examples (especially if the bar is quite low, as in being elected to the parliament of two countries) in former colonial powers.

And he could have been Governor of the Confederate State of Texas–but he refused to take the oath of loyalty & was removed from office.

I thought I heard about a Canadian politician going back to his/her newly independent homeland to run for office, but maybe I’m just making that up.

At any rate, I was looking through a Wikipedia list of East Timorese politicians at random, and it claimed that Manuel Tilman was both a Portuguese and an East Timorese representative at different times.

Not an elected representative, but I thought it might be interesting to mention that Ismail Mahomed was, for a time, simultaneously Chief Justice of Namibia and Chief Justice of South Africa.

There are certainly many similar examples, but they aren’t exactly what the OP is looking for. What happened to politicians such as Boigny is that the territory they lived on switched from being part of one country to being part of another. The same can be said for the US Confederate politicians during the Civil War, and for the Irish politicians in the early days after independence.

OTOH, Gerry Adams being elected in Northern Ireland first, and then getting a seat in the Irish parliament (mentioned by the OP himself) seems like an adequate answer. What matters in this case is that the Irish people live in two neighbouring but different countries. I suspect we may find similar cases among members of other national groups that exist in two or more different countries. Perhaps a Kurd in Iraq and Turkey, or perhaps a member of some ethnic group in two different African countries. The problem is that many countries are not representative democracies, and even among those that are, it may be difficult for a member of a national minority to be elected.

Honestly, Keeve’s answer of Mordechai Nurock in Latvia and Israel seems like the best one so far.

Vaira Vīķe-Freiberga spent most of her life in Canada, and was a professor at the University of Montreal for 33 years before going back to Latvia to become president, but she doesn’t seem to actually have been involved in Canadian electoral politics. Though maybe you were thinking about someone else.

Sam Houston was a representative from and later governor of Tennessee, then President (twice) of the independent Republic of Texas.

After Texas joined the Union, he was a Senator from it and then its Governor.
In between he was a soldier and a drunk. Utterly fascinating life.

In that case, it wasn’t named after a king; it was named after someone who later became a king.

Not an example of dual election, but R.B Bennett was Prime Minister of Canada and later appointed to the Lords as Viscount Bennett.

It was named after James Stuart. James Stuart was a king. Let’s not get into temporal issues. Otherwise we can argue that Georgia isn’t named after a king - it was named after a king, but George isn’t king anymore.