The 19th century was dominated by the Hungarian struggle for independence and modernisation. The national insurrection against the Habsburgs began in the Hungarian capital Hungarian Revolution of 1848 and was defeated one and a half years later, with the help of the Russian Empire. 1867 was the year of Austro-Hungarian Compromise of 1867 that brought about the birth of Austria-Hungary. This made Budapest the twin capital of a dual monarchy. It was this compromise which opened the second great phase of development in the history of Budapest, lasting until World War I. In 1849 the Chain Bridge (Budapest) linking Buda with Pest was opened as the first permanent bridge across the Danube and in 1873 Buda and Pest were officially merged with the third part, Obuda (Old Buda), thus creating the new metropolis of Budapest. The dynamic Pest grew into the countrys administrative, political, economic, trade and cultural hub. Ethnic Hungarians overtook Danube Swabians in the second half of the 19th century due to mass migration from the overpopulated rural Transdanubia and Great Hungarian Plain. Between 1851 and 1910 the proportion of Hungarians increased from 35.6% to 85.9%, Hungarian became the dominant language, and German was crowded out. The proportion of Jews peaked in 1900 with 23.6%. Due to the prosperity and the large Jewish community of the city at the start of the 20th century, Budapest was often called the "Jewish Mecca" or "Judapest". In 1918, Austria-Hungary lost the war and collapsed; Hungary declared itself an independent republic (Republic of Hungary). In 1920 the Treaty of Trianon partitioned the country, and as a result, Hungary lost over two-thirds of its territory, and about two-thirds of its inhabitants, including 3.3 million out of 15 million ethnic Hungarians.

What year did the Hungarian Revolution end?
A:

After repelling the Hungarian attack, the Romanian army prepared to cross the Tisza River. The 7th Infantry Division returned from Bessarabia. The 2nd Infantry Division and some smaller infantry and artillery units also returned. The Romanian army massed 119 battalions , 99 artillery batteries with 392 guns and 60 cavalry squadrons . Hungarian forces continued an artillery bombardment. From 27-29 July the Romanian army tested the strength of the Hungarian defense with small attacks. A plan was made to cross the Tisza River near Fegyvernek, where it makes a turn. At the night of 29-30 July the Romanian army crossed the Tisza River. Decoy operations were mounted at other points along the river, bringing intense artillery duels. Romanian forces held the element of surprise. On 31 July the Hungarian army retreated towards Budapest.

How many guns and battalions did the Romanian army have combined?
A: 511

On 1 April 1911, Porfirio Diaz claimed that he had heard the voice of the people of Mexico, replaced his cabinet, and agreed to restitution of the lands of the dispossessed. Madero did not believe this statement and instead demanded the resignation of President Diaz and Vice-President Ramon Corral. Madero then attended a meeting with the other revolutionary leaders- they agreed to a fourteen-point plan which called for pay for revolutionary soldiers; the release of political prisoners; and the right of the revolutionaries to name several members of cabinet. Madero was moderate, however. He believed that the revolutionaries should proceed cautiously so as to minimize bloodshed and should strike a deal with Diaz if possible. In May, Madero wanted a ceasefire, but his fellow revolutionaries Pascual Orozco and Francisco Villa disagreed and went ahead with an attack on Ciudad Juarez. The revolutionaries won this battle decisively and on 21 May 1911, the Treaty of Ciudad Juarez was signed. Under the terms of the Treaty of Ciudad Juarez, Diaz and Corral agreed to resign by the end of May 1911, with Diaz's Minister of Foreign Affairs, Francisco Leon de la Barra, taking over as interim president solely for the purpose of calling general elections. This first phase of the Mexican Revolution thus ended with Diaz leaving for exile in Europe at the end of May 1911. On 7 June 1911, Madero entered Mexico City in triumph where he was greeted with huge crowds shouting "Viva Madero!"

How many months into the year was there a treaty made?
A:
5