Education
Born in Glasgow, McElroy studied at Trinity College Dublin, then at Manchester College in Oxford (since 1996 known as Harris Manchester College).
Born in Glasgow, McElroy studied at Trinity College Dublin, then at Manchester College in Oxford (since 1996 known as Harris Manchester College).
He also became a local councillor. In 1942, Midgley split away to form the Commonwealth Labour Party. McElroy followed, and he stood for the party in Ards at the Northern Ireland general election, 1945.
He was one of the more successful candidates, taking 41.5% of the vote, but was not elected.
In 1947, Midgley disbanded the party and joined the Ulster Unionists. McElroy was the most prominent of a small group of members who instead returned to the NILP. At the United Kingdom general election, 1950, McElroy stood for the NILP in North Down, receiving 20.6% of the votes cast, taking him to a distant second place.
He stood again in the 1951 United Kingdom general election, but fell back to 18.6%. In the 1950s, McElroy left the NILP, and founded the Ulster Liberal Party, of which he became leader.
He stood for his new party at the Northern Ireland general election, 1958 for the Queen"s University Belfast seat, but was narrowly defeated, taking fifth place in the four-seat constituency.
At the United Kingdom general election, 1964, he stood in North Down, but was unable to match his performances for the NILP, taking only 6.2% of the votes cast. At the 1965 Stormont election, he was defeated in Enniskillen. McElroy"s party colleague Sheelagh Murnaghan was elected for Queen"s University in 1961 and re-elected in 1965, so when a by-election arose the following year, McElroy stood.
He was defeated in a close vote by the Ulster Unionist candidate.
McElroy was active in the civil rights protests in the late 1960s, and spoke alongside Nationalist Party politicians such as Eddie McAteer and Austin Currie.