Input: Article: In 1758, the general of the Hindu Maratha Empire, Raghunath Rao conquered Lahore and Attock. Timur Shah Durrani, the son and viceroy of Ahmad Shah Abdali, was driven out of Punjab. Lahore, Multan, Dera Ghazi Khan, Kashmir and other subahs on the south and eastern side of Peshawar were under the Maratha rule for the most part. In Punjab and Kashmir, the Marathas were now major players. The Third Battle of Panipat took place on 1761, Ahmad Shah Abdali invaded the Maratha territory of Punjab and captured remnants of the Maratha Empire in Punjab and Kashmir regions and re-consolidated control over them.

Now answer this question: Who ruled most of the eastern part of Peshawar?

Output: Maratha

Input: Article: Although provision is made in Title 10 of the United States Code for the Secretary of the Air Force to appoint warrant officers, the Air Force does not currently use warrant officer grades, and is the only one of the U.S. Armed Services not to do so. The Air Force inherited warrant officer ranks from the Army at its inception in 1947, but their place in the Air Force structure was never made clear.[citation needed] When the Congress authorized the creation of two new senior enlisted ranks in 1958, Air Force officials privately concluded that these two new "super grades" could fill all Air Force needs then performed at the warrant officer level, although this was not publicly acknowledged until years later.[citation needed] The Air Force stopped appointing warrant officers in 1959, the same year the first promotions were made to the new top enlisted grade, Chief Master Sergeant. Most of the existing Air Force warrant officers entered the commissioned officer ranks during the 1960s, but small numbers continued to exist in the warrant officer grades for the next 21 years.

Now answer this question: What is the newest top enlisted grade in the USAF?

Output: Chief Master Sergeant

Input: Article: The Period of Division from, A.D., 1138 A.D., 1314, which included nearly 200 years of feudal fragmentation and which stemmed from Bolesaw III's division of Poland among his sons, was the genesis of the social structure which saw the economic elevation of the great landowning feudal nobles (mozni/Magnates, both ecclesiastical and lay) from the rycerstwo they originated from. The prior social structure was one of Polish tribes united into the historic Polish nation under a state ruled by the Piast dynasty, this dynasty appearing circa 850 A.D.

Now answer this question: What stemmed the period of division?

Output:
Bolesaw III's division of Poland among his sons