qnli question: How many boroughs did the city consist of when they were first established? sentence: While the Federal District was ruled by the federal government through an appointed governor, the municipalities within it were autonomous, and this duality of powers created tension between the municipalities and the federal government for more than a century.