Title: Hyderabad
Content:  Hyderabad is the capital and largest city of the Indian state of Telangana and the de jure capital of Andhra Pradesh. It occupies 650 km2 on the Deccan Plateau along the banks of the Musi River, in the northern part of South India. With an average altitude of 542 m, much of Hyderabad is situated on hilly terrain around artificial lakes, including the Hussain Sagar lake, predating the city's founding, in the north of the city centre. According to the 2011 Census of India, Hyderabad is the fourth-most populous city in India with a population of 6.9 million residents within the city limits, 
Title: Hyderabad
Content:  city housed the British Residency and cantonment until Indian independence in 1947. Hyderabad was annexed by the Indian Union in 1948 and continued as a capital of Hyderabad State (1948–56). After the introduction of the States Reorganisation Act of 1956, Hyderabad was made the capital of the newly formed Andhra Pradesh. In 2014, Andhra Pradesh was bifurcated to form Telangana and Hyderabad became the joint capital of the two states with a transitional arrangement scheduled to end in 2024. Since 1956, the city has housed the winter office of the President of India. Relics of the Qutb Shahi and Nizam rules remain 
Title: History of Hyderabad
Content:  and their territory became Hyderabad State, the largest princely state in British India with the city of Hyderabad as its capital. During this period, industry, railways, modern education, and airways developed in Hyderabad. After India's independence in 1947, the Nizam did not wish to accede his state to the newly formed nation. By then, his power had weakened due to the Telangana movement. The Indian Army annexed Hyderabad in 1948. In 1956, the Hyderabad State was divided on the basis of linguistic differences, and the city of Hyderabad became the capital of Andhra Pradesh. In 2014, the state of Telangana was carved out from Andhra Pradesh and Hyderabad became its new capital.
Title: Hyderabad, Sindh
Content:  Hyderabad (Sindhi and ; ) is a city and capital of Hyderabad Division in the Sindh province of Pakistan. It is the second-largest city in Sindh, and the eight-largest in Pakistan. Founded in 1768 by Mian Ghulam Shah Kalhoro of the Kalhora Dynasty, Hyderabad served as a provincial capital until the British transferred the capital to Bombay presidency in 1847. It is about 150 km inland of Karachi, the largest city of Pakistan to which it is connected by a direct railway and motorway.
Title: History of Hyderabad
Content:  Hyderabad is the capital of the Indian state of Telangana. It is a historic city noted for its many monuments, temples, mosques and bazaars. A multitude of influences has shaped the character of the city in the last 400 years. The city of Hyderabad was founded by the Qutb Shahi sultan Muhammad Quli Qutb Shah in 1591 CE. It was built around the Charminar, which formed the centerpiece of the city. Hyderabad became an important trading centre for diamonds and pearls, and a centre for culture. After a brief period of Mughal rule, the first Nizam of Hyderabad conquered the city in 1724. The Nizams later signed a subsidiary alliance with the 
Title: Geography of Hyderabad
Content:  Hyderabad, the capital of Indian state of Telangana, is located in the central part of the Telangana. Geographically the city is located in the northern part of Deccan plateau, in Southern India on the banks of Musi River. The modern Hyderabad is spread over an area of 1005 km2, making it one of the largest metros in India. The predominant topography of the city is sloping rocky terrain of grey and pink granites. Some locations with higher altitude are scattered throughout, giving rise to the appearance of several small hillocks. Hyderebad has an average altitude of about 1778 ft above mean sea 
Title: Hyderabad
Content:  has a population of 9.7 million residents in the metropolitan region, making it the sixth-most populous metropolitan area in India. With an output of US$74 billion, Hyderabad has the fifth-largest urban economy in India. Muhammad Quli Qutb Shah established Hyderabad in 1591 to extend the capital beyond the fortified Golconda. In 1687, the city was annexed by the Mughals. In 1724, Mughal Viceroy Nizam Asaf Jah I declared his sovereignty and founded the Asaf Jahi dynasty, also known as the Nizams. Hyderabad served as the imperial capital of the Asaf Jahis from 1769 to 1948. As capital of the princely state of Hyderabad, 
Title: Hyderabad
Content:  According to the Andhra Pradesh Reorganisation Act, 2014 part 2 Section 5: "(1) On and from the appointed day, Hyderabad in the existing State of Andhra Pradesh, shall be the common capital of the State of Telangana and the State of Andhra Pradesh for such period not exceeding ten years. (2) After expiry of the period referred to in sub-section (1), Hyderabad shall be the capital of the State of Telangana and there shall be a new capital for the State of Andhra Pradesh." The same sections also define that the common capital includes the existing area designated as the Greater Hyderabad Municipal Corporation under the Hyderabad Municipal Corporation Act, 1955. As stipulated in sections 3 and 18(1) of the Reorganisation Act, city MLAs are members of Telangana state assembly.
Title: Islamic Heritage of Hyderabad
Content:  Hyderabad is the capital of the Indian state of Telangana and de jure capital of Andhra Pradesh. It was established by Qutb Shahi sultan Muhammad Quli Qutb Shah in 1591 AD to expand their capital beyond the Golconda fort. The Charminar Masjid was constructed upon the inception of Hyderabad, the iconic mosques of Mecca Masjid and Hayat Bakshi Mosque were constructed during this dynasty and these style of architecture is known as Qutb Shahi Masajid—(Qutb Shahi Mosques). In 1769 AD when the city became capital of the Nizams of Hyderabad—(also known as Asaf Jahi dynasty), they had constructed many mosques in the process to expand the city, Afzal Gunj Masjid and Shahi Masjid are the resemblance of Asaf Jahi Masajid—(Asaf Jahi Mosques). Some of the iconic mosques in Hyderabad such as Toli Masjid, Mian Mishk Masjid, Spanish Mosque and Paigah Mosque were constructed by the prominent nobles of the former rulers of Hyderabad state.
Title: Hyderabad
Content:  five districts encircling the city. It coordinates the development activities of GHMC and suburban municipalities and manages the administration of bodies such as the Hyderabad Metropolitan Water Supply and Sewerage Board (HMWSSB). Hyderabad is the seat of the Government of Telangana, Government of Andhra Pradesh and the President of India's winter retreat Rashtrapati Nilayam, as well as the Telangana High Court and various local government agencies. The Lower City Civil Court and the Metropolitan Criminal Court are under the jurisdiction of the High Court. The GHMC area contains 24 State Legislative Assembly constituencies, which form five constituencies of the Lok Sabha (the lower house of the Parliament of India).

Question: What is Hyderabad the capital of?
Answer: Andhra Pradesh.
A.P.
Telangana.