Problem: His first taste of land battle in Russia was the disastrous defeat at Narva, in which Lacy commanded a unit of musketeers, holding the rank of poruchik. During the Great Northern War he was seriously wounded on two occasions, gaining the rank of colonel in 1706. The following year he led a brigade at Poltava, in which battle he greatly distinguished himself. From this point began his fame as a soldier. His next active service, still under Prince Repnin, was the siege of Riga. Lacy was reputedly the first Russian officer to enter the capital of Livland and he was appointed the first Russian chatelain of Riga Castle in the aftermath. In 1719 Apraksin's fleet landed Lacy with 5,000 infantry and 370 cavalry near Umea in Sweden, where they proceeded to devastate a dozen iron foundries and a number of mills. Soon promoted general, he entered the Military Collegium as the Russian Ministry of Defense was then known - in 1723. Three years later, Lacy succeeded Repnin in command of the Russian forces quartered in Livland, and in 1729 he was appointed Governor of Riga. These positions brought him in contact with the Duchess of Courland, who before long ascended the Russian throne as Empress Anna. During her reign, Lacy's capacity for supreme command would never be doubted.
Answer this question based on the article: Which Russian entered Livland first?
A: Lacy

Problem: The Charleston-North Charleston-Summerville Metropolitan Statistical Area consists of three counties: Charleston, Berkeley, and Dorchester. As of the 2013 U.S. Census, the metropolitan statistical area had a total population of 712,239 people. North Charleston is the second-largest city in the Charleston-North Charleston-Summerville Metropolitan Statistical Area and ranks as the third-largest city in the state; Mount Pleasant and Summerville are the next-largest cities. These cities combined with other incorporated and unincorporated areas along with the city of Charleston form the Charleston-North Charleston Urban Area with a population of 548,404 as of 2010. The metropolitan statistical area also includes a separate and much smaller urban area within Berkeley County, Moncks Corner . The traditional parish system persisted until the Reconstruction Era, when counties were imposed. Nevertheless, traditional parishes still exist in various capacities, mainly as public service districts. When the city of Charleston was formed, it was defined by the limits of the Parish of St. Philip and St. Michael, now also includes parts of St. James' Parish, St. George's Parish, St. Andrew's Parish, and St. John's Parish, although the last two are mostly still incorporated rural parishes.
Answer this question based on the article: How many more inhabitants are there in the metropolitan statistical area than the Charleston-North Charleston Urban Area?
A: 163835

Problem: Although nominally part of the Ottoman Empire, Yemen and the sahil came progressively under the control of Muhammad Ali, ruler of Egypt, between 1821 and 1841. After the Egyptians withdrew from the Yemeni seaboard in 1841, Haj Ali Shermerki, a successful and ambitious Somali merchant, purchased from them executive rights over Zeila. Shermerki's governorship had an instant effect on the city, as he manoeuvred to monopolize as much of the regional trade as possible, with his sights set as far as Harar and the Ogaden. Shermerki was later succeeded as Governor of Zeila by Abu Bakr Pasha, a local Afar statesman. In 1874-75, the Egyptians obtained a firman from the Ottomans by which they secured claims over the city. At the same time, the Egyptians received British recognition of their nominal jurisdiction as far east as Cape Guardafui. In actuality, however, Egypt had little authority over the interior and their period of rule on the coast was brief, lasting only a few years . The British Somaliland protectorate was subsequently established in the late 1880s, after the ruling Somali authorities signed a series of protection treaties granting the British access to their territories on the northwestern coast. Among the Somali signatories were the Gadabuursi , Habar Awal , and Warsangali. When the Egyptian garrison in Harar was eventually evacuated in 1885, Zeila became caught up in the competition between the Tadjoura-based French and the British for control of the strategic Gulf of Aden littoral. By the end of 1885, the two powers were on the brink of armed confrontation, but opted instead to turn negotiations. They later signed a convention on 1 February 1888 defining the border between French Somaliland and British Somaliland.
Answer this question based on the article: How many years did Yemen progressively come under the control of Muhammad Ali?
A:
20