Question: For which conflict did the Canadian Government award the Canada General Service Medal for attacks by an Irish Republican organization based in the United States against British army forts and custom posts in Canada?
Context: Between 1866 and 1871, the Fenian raids of the Fenian Brotherhood, an Irish Republican organization based in the United States, on British army forts, customs posts and other targets in Canada, were fought to bring pressure on Britain to withdraw from Ireland.  They divided Catholic Irish-Canadians, many of whom were torn between loyalty to their new home and sympathy for the aims of the Fenians.  The Protestant Irish were generally loyal to Britain and fought with the Orange Order against the Fenians.  While the U.S. authorities arrested the men and confiscated their arms, there is speculation that some in the U.S. government had turned a blind eye to the preparations for the invasion, angered at actions that could have been construed as Canadian assistance to the Confederate States of America during the American Civil War.  There were five Fenian raids of note and all of them ended in failure. The Canada General Service Medal was a campaign medal awarded by the Canadian Government to both Imperial and Canadian forces for duties related to the Fenian raids between 1866 and 1871.  The medal was not issued until 1899 and had to be applied for.  The period for applying for the medal was later extended to 1907, and then to 1928. The New Zealand General Service Medal 2002 (Korea) is a New Zealand campaign medal for service in Korea.  The New Zealand General Service Medal 2002 (NZGSM 2002) was established by royal warrant to recognize service since 2000.  The NZGSM 2002 (Korea) was authorized by regulation on 5 September 2008.  To qualify for this medal personnel must serve thirty days in the Republic of Korea with the United Nations Command Military Armistice Commission (UNCMAC) or the United Nations Command Honour Guard Company.  Only service since 1 January 2001 qualifies.  This medal replaces the award of the New Zealand General Service Medal 1992 (Non-Warlike) with the Korea 1958-2000 clasp. The Texas Cavalry Service Medal is a service medal of the Texas National Guard which was created by the Texas Legislature under Senate Bill 955 and signed into law by Governor Rick Perry June 17, 2005.  Senate Bill 955, an amendment to Texas Government Code § 431.134, became effective on September 1, 2005.  The Texas Cavalry Medal is awarded to personnel who served on or after September 11, 2001, in the 124th Cavalry, Texas Army National Guard and who served in a hostile fire zone as designated by the United States Secretary of Defense.  This medal is a one time award and there is no provision for subsequent awards.  The first 182 cavalry troopers eligible for the award completed their tour of duty in Iraq on February 11, 2005.  Carrying the same unit heraldry as the 1st Squadron, 124th Cavalry Regiment, members of the Texas National Guard's Brigade Reconnaissance Troops mobilized for Operation Iraqi Freedom III were also eligible for this award.  The order of precedence for this new award has it falling between the Texas Combat Service Ribbon and the Texas Faithful Service Medal.  The Texas Cavalry Service Medal is no longer awarded. The General Service Medal (GSM) (French: "Médaille du service général" ) is a service medal of Canada established by Her Majesty The Queen in March 2004 and presented for the first time on 29 November 2004.  It is presented to members of the Canadian Forces, or members of allied forces for deployment outside of Canada with Canadian Forces, though not necessarily in a theater of operations, to provide direct support, on a full-time basis, to operations in the presence of an armed enemy. The Army of India Medal (AIM) was a campaign medal approved in 1851 for issue to officers and men of the British Army and the Army of the Honourable East India Company.  A retrospective award following the precedent set by the Naval General Service Medal and the Military General Service Medal, it served to reward service in various actions from 1803 to 1826. The Naval General Service Medal (1915 NGSM) was instituted in 1915 to recognise service by the Royal Navy and Royal Marines in minor campaigns that would not otherwise earn a specific campaign medal.  The Army/Air Force equivalent was the General Service Medal (1918).  Both these medals were replaced by the General Service Medal in 1962. The Sea Cadet Service Medal is a Canadian Sea Cadet medal, which is awarded to Cadets who have completed at least four years of continuous service in the Canadian Cadet Organization.  Recipients of the Sea Cadet Service Medal must be in the sea element at the time of receiving the award, though time spent in army or air cadets also counts towards the award.  Time spent in other Royal Canadian Sea Cadet corps also counts towards the medal.  Cadets can only receive one service medal, even if they have spent a total of four years in sea, army and air cadets. The General Service Medal or Rhodesian General Service Medal was the most widely awarded military medal of Rhodesia.  It was awarded to members of the security forces and British South Africa Police for service on operations undertaken for the purpose of combating terrorists or enemy incursions into Rhodesia. The General Service Medal (1962 GSM, also sometimes referred to as the Campaign Service Medal), was introduced in 1962 to combine the General Service Medal (1918), as awarded to the Army and RAF, and the Naval General Service Medal (1915).  The 1962 GSM was awarded until 2007, when it was replaced by the Operational Service Medal.  In 2015 the General Service Medal (2008) was introduced.
Answer: Fenian raids