Information:  - Tripoli (; Berber: "rables") is the capital city and the largest city of Libya. Tripoli, with its metropolitan area, has a population of about 1.1 million people. The city is located in the northwestern part of Libya on the edge of the desert, on a point of rocky land projecting into the Mediterranean and forming a bay. Tripoli includes the Port of Tripoli and the country's largest commercial and manufacturing centre. It is also the site of the University of Tripoli. The vast Bab al-Azizia barracks, which includes the former family estate of Muammar Gaddafi, is also located in the city. Colonel Gaddafi largely ruled the country from his residence in this barracks.  - A militia is generally an army or some other type of fighting unit that is composed of non-professional fighters, citizens of a nation or subjects of a state or government who can be called upon to enter a combat situation, as opposed to a professional force of regular, full-time military personnel, or historically, members of the warrior nobility class (e.g., knights or samurai). Unable to hold their own against properly trained and equipped professional forces, it is common for militias to engage in guerrilla warfare or defense instead of being used in open attacks and offensive actions.  - The Battle of Plattsburgh, also known as the Battle of Lake Champlain, ended the final invasion of the northern states of the United States during the War of 1812. A British army under Lieutenant General Sir George Prévost and a naval squadron under Captain George Downie converged on the lakeside town of Plattsburgh, which was defended by New York and Vermont militia and detachments of regular troops of the United States Army, all under the command of Brigadier General Alexander Macomb, and ships commanded by Master Commandant Thomas Macdonough. Downie's squadron attacked shortly after dawn on 11 September 1814, but was defeated after a hard fight in which Downie was killed. Prévost then abandoned the attack by land against Macomb's defences and retreated to Canada, stating that even if Plattsburgh was captured, any British troops there could not be supplied without control of the lake.  - Thomas Macdonough , Jr. ( December 21 , 1783 -- November 10 , 1825 ) was an early - 19th - century American naval officer noted for his roles in the first Barbary War and the War of 1812 . He was the son of a revolutionary officer , Thomas Macdonough , Sr. who lived near Middletown , Delaware . He was the sixth child from a family of ten siblings and was raised in the countryside . He entered naval life at an early age , receiving a midshipman 's commission at the age of sixteen . Serving with Stephen Decatur at Tripoli , he was a member of `` Preble 's Boys '' , a select group of U.S. naval officers who served under the command of Commodore Preble during the First Barbary War . Macdonough achieved fame during the War of 1812 , commanding the American naval forces that defeated the British navy at the Battle of Lake Champlain , part of the larger Battle of Plattsburgh , which helped lead to an end to that war .  - Colonel (abbreviated Col., Col or COL and pronounced , similar to "kernel") is a senior military officer rank below the general officer ranks. However, in some small military forces, such as those of Iceland or the Vatican, colonel is the highest rank. It is also used in some police forces and paramilitary organizations.  - Lieutenant-General Sir George Prévost, 1st Baronet (19 May 1767  5 January 1816) was a British Army officer and colonial administrator. Prévost wrongfully became known as the "defender of Canada" for his alleged leadership during the War of 1812. See "Letters of Veritas" as written by various high ranking officials of the time. Born in Hackensack, New Jersey, the eldest son of Swiss French Augustine Prévost, he joined the British Army as a youth and became a captain in 1784. Prévost served in the West Indies during the French Revolutionary Wars and the Napoleonic Wars, and was commander of St. Vincent from 1794 to 1796. He became Lieutenant-Governor of Saint Lucia from 1798 to 1802 and Governor of Dominica from 1802 to 1805. He is best known to history for serving as both the civilian Governor General and the military Commander in Chief in British North America (now part of Canada) during the War of 1812 between Britain and the United States of America. See letters of Veritas by Sewell take note of allegations of treason around p 84. Many concrete examples of questionnable activities, and described as a coward with no honor on p.120. Comments were made in writing by multiple high ranking military personnel  - The War of 1812 was a military conflict that lasted from June 1812 to February 1815, fought between the United States of America and the United Kingdom, its North American colonies, and its Native American allies. Historians in the United States and Canada see it as a war in its own right, but the British often see it as a minor theatre of the Napoleonic Wars. By the war's end in early 1815, the key issues had been resolved and peace returned with no boundary changes.  - Officer Cadet is a rank held by military cadets during their training to become commissioned officers. In the United Kingdom, the rank is also used by members of University Royal Naval Units, University Officer Training Corps and University Air Squadron.  - George Downie (19 January 1778  11 September 1814) was a Scottish officer of the British Royal Navy who, during the War of 1812, commanded a British squadron which fought an American squadron on Lake Champlain in the Battle of Plattsburgh, during which he was killed.  - The Royal Navy (RN) is the United Kingdom's naval warfare force. Although warships were used by the English kings from the early medieval period, the first major maritime engagements were fought in the Hundred Years War against the kingdom of France. The modern Royal Navy traces its origins to the early 16th century; the oldest of the UK's armed services, it is known as the Senior Service.  - A midshipman is an officer cadet or a commissioned officer candidate of the junior-most rank, in the Royal Navy, United States Navy, and many Commonwealth navies. Commonwealth countries which use the rank include Canada, Australia, Bangladesh, Namibia, New Zealand, South Africa, India, Pakistan, Singapore, Sri Lanka, and Kenya.   - The Napoleonic Wars (1803-1815) were a series of major conflicts pitting the French Empire and its allies, led by Napoleon I, against a fluctuating array of European powers formed into various coalitions, primarily led and financed by the United Kingdom. The wars resulted from the unresolved disputes associated with the French Revolution and the Revolutionary Wars, which had raged on for years before concluding with the Treaty of Amiens in 1802. The resumption of hostilities the following year paved the way for more than a decade of constant warfare often categorized into five conflicts: the War of the Third Coalition (1805), the War of the Fourth Coalition (1806-7), the War of the Fifth Coalition (1809), the War of the Sixth Coalition (1813), and the War of the Seventh Coalition (1815). The Napoleonic Wars had profound consequences for global and European history, leading to the spread of nationalism and liberalism, the rise of the British Empire as the world's premier power, the independence movements in Latin America and the collapse of the Spanish Empire, the fundamental reorganization of German and Italian territories into larger states, and the establishment of radically new methods in warfare.   - Muammar Mohammed Abu Minyar Gaddafi (20 October 2011), commonly known as Colonel Gaddafi, was a Libyan revolutionary, politician, and political theorist. He governed Libya as Revolutionary Chairman of the Libyan Arab Republic from 1969 to 1977 and then as the "Brotherly Leader" of the Great Socialist People's Libyan Arab Jamahiriya from 1977 to 2011. He was initially ideologically committed to Arab nationalism and Arab socialism, but he came to rule according to his own Third International Theory before embracing Pan-Africanism. Born near Sirte, Gaddafi was the son of an impoverished Bedouin goat herder. He became involved in politics while at school in Sabha, later enrolling in the Royal Military Academy, Benghazi. He founded a revolutionary cell within the military; in 1969, they seized power from the monarchy of King Idris in a bloodless coup. Gaddafi became Chairman of the governing Revolutionary Command Council (RCC); he then abolished the monarchy and proclaimed the Republic, ruling by decree. He implemented measures to remove what he viewed as foreign imperialist influence from Libya, and strengthened ties to Arab nationalist governments, particularly Gamal Abdel Nasser's Egypt. He was intent on pushing Libya towards "Islamic socialism", introducing "sharia" as the basis for the legal system and nationalising the oil industry, using the increased revenues to bolster the military, implement social programs, and fund revolutionary militants across the world. In 1973, he initiated a "Popular Revolution" with the formation of General People's Committees (GPCs), purported to be a system of direct democracy, but retained personal control over major decisions. He outlined his Third International Theory that year, publishing these ideas in "The Green Book". In 1977, Gaddafi dissolved the Republic and created a new socialist state called the "Jamahiriya" ("state of the masses"), officially adopting a symbolic role in governance. He retained power as military commander-in-chief and head of the Revolutionary...    What entity does 'thomas macdonough' has the relation 'military rank' with?
A:
colonel