Question: When did the war where the Mafeking Cadet Corps were founded end?

Context articles: Certificate &quot;A&quot;
Second Boer War
American Cadet Alliance
Scouting for Boys
Navy League Cadet Corps
Cadet Corps (Russia)
National Guard of Pakistan
Mafeking Cadet Corps
Community Cadet Forces
Bermuda Cadet Corps

Certificate "A" was a military proficiency award originally used by the university cadet corps.
 It was associated initially with a more advanced Certificate "B", the holding of which, gave entry into the Special Reserve of Officers or the Territorial Force as an officer.
 Certificate "A" was at the level for basic training.
 The certificates were recognised by the War Office in 1908.
 This was extended to other cadet corps during the Great War (1914–18).
 These cadet corps were mainly in secondary and public schools, until 1942 when the Army Cadet Force came into being.
 By the middle of the 1930s, Certificate "A" was the aim of every new cadet.
The Second Boer War (Dutch: "Tweede Boerenoorlog" , Afrikaans: "Tweede Vryheidsoorlog" , "Second Freedom War"), known variously as the Boer War, Anglo-Boer War, South African War or Anglo-Boer South African War, started on 11 October 1899 and ended on 31 May 1902.
 Britain defeated two Boer states in South Africa: the South African Republic (Republic of Transvaal) and the Orange Free State.
 Britain was aided by its Cape Colony, the Colony of Natal and some native African allies.
 The British war effort was further supported by volunteers from the British Empire, including Southern Africa, the Australian colonies, Canada, India and New Zealand.
 Inside Britain and its Empire there also was significant opposition to the Second Boer War.
The American Cadet Alliance (ACA), formerly the United States Army Cadet Corps (USAC) was founded under the name "Colonel Cody's Boy Scouts" by Captain James H. C. Smyth at the First Presbyterian Church, Manhattan, New York.
 The ACA holds the distinction of being the oldest nationwide Cadet program in the United States.
 It is the National Cadet Program branch of the American Military Cadet Corps (AMCC), its parent organization.
 ACA and American Military Cadet Corps is an Independent National Cadet Program (similar to the Young Marines) and therefore is not a governmental agency, and is not an official entity of the United States Army.
Scouting for Boys: A handbook for instruction in good citizenship is a book on Boy Scout training, published in various editions since 1908.
 Early editions were written and illustrated by Robert Baden-Powell with later editions being extensively rewritten by others.
 The book was originally a manual for self-instruction in observation, tracking and woodcraft skills as well as self-discipline and self-improvement, about the Empire and duty as citizens with an eclectic mix of anecdotes and unabashed personal observations and recollections.
 It is pervaded by a degree of moral proselytizing and references to the author's own exploits.
 It is based on his boyhood experiences, his experience with the Mafeking Cadet Corps during the Second Boer War at the Siege of Mafeking, and on his experimental camp on Brownsea Island, England.
The U.S. Navy League Cadet Corps (also known as the United States Naval League Cadet Corps or "NLCC") is a junior version of the United States Naval Sea Cadet Corps (NSCC) program developed for younger cadets, aged 11 through 14, under the auspices of the Navy League of the United States.
 The mission of the NLCC is to train cadets about the seagoing military services, community service, citizenship, and an understanding of discipline and teamwork so that they are prepared for membership in the NSCC.
 While NLCC cadets can go into the NSCC when they turn 13, they may also elect to remain in the NLCC until age 14, when they must either transfer into the NSCC, or leave the program.
A Cadet corps (Russian: Kadetskiy korpus, Кадетский корпус ), historically an admissions-based all-boys military cadets school, prepared boys to become commissioned officers in Imperial Russia.
 Boys entered a cadet corps between the ages of 8 and 15.
 Empress Anna Ivanovna founded the first cadet corps in Saint Petersburg, Russian Empire, in 1731.
 The term of education was seven years.
 All instructors had a military rank; they taught a full program of military preparation.
 In 1766 Catherine the Great's educational reforms broadened the curriculum to include the sciences, philosophy, ethics, history, and international law.
The 185,000-member National Guard (Urdu: قومیمحافظ‎ ), is a paramilitary force comprising the Mujahid Force and the Janbaz Force, a locally recruited militia mainly charged with air defense, and two programs similar to the United States Reserve Officers Training Corps, the National Cadet Corps and the Women's Guard.
 The Women's Guard, unlike the National Cadet Corps, included individuals trained in nursing, welfare, and clerical work.
 There were also some women in the Janbaz Force, and a very small number of women were recruited into the regular service in limited numbers to perform medical and educational work.
 The National Cadet Corps was disbanded 14 years ago.
The Mafeking Cadet Corps was a group of boy cadets formed by Lord Edward Cecil shortly before the 217 day Siege of Mafeking in South Africa during the Second Boer War in 1899-1900.
 Cecil, the son of the British Prime Minister, was the staff officer and second-in-command of the garrison.
 The cadets consisted of volunteer white boys below fighting age and were used to support the troops, carry messages, and help in the hospital.
 This freed up men for military duties, and kept the boys occupied.
The Community Cadet Forces is a term used by the United Kingdom Ministry of Defence (MoD) to group together the Sea Cadet Corps, the Army Cadet Force and the Air Training Corps.
 Together with the Combined Cadet Force (CCF) they constitute the UK's MoD-sponsored cadet forces.
 Although a fifth cadet organisation – the Volunteer Cadet Corps – is also recognised by the MoD (and sponsored by the Royal Navy), it consists of a comparatively small number of cadets and is not included in MoD initiatives or published statistics on Reserves and Cadets.
 However, the Volunteer Cadet Corps does enjoy close ties with the Royal Marines elements of the Sea Cadet Corps and the Combined Cadet Force forming a tri-partite family of 'Royal Marines Cadets'.
The Bermuda Cadet Corps was a youth organisation in the British Overseas Territory of Bermuda, sponsored originally by the by the War Office and the British Army.
 Modelled on the Cadet Corps in England, now organised as the Army Cadet Force and the Combined Cadet Force, it was organised separately under Acts of the Parliament of Bermuda.
 It was one of three Cadet Corps that historically operated in the British territory, with the others being the Bermuda Sea Cadet Corps (with the Girls Nautical Training Corps) and the Air Training Corps, of which only the Bermuda Sea Cadet Corps remains.
 After more than a century of existence, the Bermuda Cadet Corps was disbanded in 2013 and replaced by the resurrected Junior Leaders programme of the Royal Bermuda Regiment.