<P> All three branches of Brazil's federal government are centered in the city: executive, legislative, and judicial . Brasília also hosts 124 foreign embassies . The city's international airport connects it to all other major Brazilian cities and many international destinations, and is the third busiest airport in Brazil . Brasília is the second most populous Portuguese - speaking capital city after Luanda . It was one of the main host cities of the 2014 FIFA World Cup and hosted some of the football matches during the 2016 Summer Olympic Games; it also hosted the 2013 FIFA Confederations Cup . </P> <P> The city has a unique status in Brazil, as it is an administrative division rather than a legal municipality like other cities in Brazil . Although Brasília is used as a synonym for the Federal District through synecdoche, the Federal District is composed of 31 administrative regions, only one of which is the area of the originally planned city, also called Plano Piloto . The rest of the Federal District is considered by IBGE to make up Brasília's metro area . </P> <P> From 1763 until 1960, Rio de Janeiro was Brazil's capital . At this time, resources tended to be centered in Brazil's southeast region near Rio de Janeiro and most of its population was concentrated near to the Atlantic Coast . Brasília's geographically central location fostered a more regionally neutral federal capital . An article of the country's first republican constitution dating back to 1891 stated the capital should be moved from Rio de Janeiro to a place close to the country's center . </P> <P> The plan was conceived in 1827 by José Bonifácio, an advisor to Emperor Pedro I. He presented a plan to the General Assembly of Brazil for a new city called Brasília, with the idea of moving the capital westward from the heavily populated southeastern corridor . The bill was not enacted because Pedro I dissolved the Assembly . </P>

Why did brazil change its capital to brasilia
find me the text answering this question