Mayoralty
In 1871, after the Great Chicago Fire, Medill was elected mayor of Chicago as the candidate of the emergency fusion "Union Fireproof" party, defeating Charles C. P. Holden, and served as mayor for two years.
Medill was sworn in as mayor on December 4, 1871.
As mayor, Medill gained more power for the mayor's office, created Chicago's first public library, enforced blue laws, and reformed the police and fire departments.
During his mayoralty, Medill worked successfully to have the Illinois General Assembly modify the city charter to increase mayoral authority. As mayor-elect, on December 4, 1871, he tapped Judge Murray F. Tuley to draft a "Mayor's Bill" to be submitted to the General Assembly in its next session. After successful lobbying by Medill and Tuley, the bill passed on March 9, 1872. It went into effect July 1, 1872, and provided the mayor with the new authority to,
Serve as presiding officer of the Chicago Common Council (city council); to appoint all unelected city officials with the advice and consent of the Common Council
Remove all unelected city officials, with only the requirement that they provide the City Council with reasons for such a removal
Appoint the standing committees of the Common Council and serve as an ex officio member of those committees
Veto any ordinance, including all or part of an appropriations ordinance, with a two-thirds vote of the Common Council required to override such as veto
Exercise special police powers
In his first year as mayor, Medill received very little legislative resistance from the Chicago Common Council. While he vetoed what was an unprecedented eleven Common Council ordinances that year, most narrowly were involved with specific financial practices considered wasteful and none of the vetoes were overridden. He used his new powers to appoint the members of the newly constituted Chicago Board of Education and the commissioners of its constituted public library. His appointments were approved unanimously by the Common Council.
Medill sought funding for the recovery of Chicago. Medill had strongly lobbied on behalf of the city to receive state financial aid, taking advantage of his connections with state legislators in the state capitol of Springfield, Illinois. While, at the time, state law prohibited the direct appropriation of state funds to the city, Medill was able to get the legislature to pass a special act reimbursing the city for $2.9 million the city had expended on the state-owned Illinois and Michigan Canal. Medill also sought federal financial help. Medill took advantage of his connections in Washington, D.C., to seek such aid. In his third month in office, he wrote Vice President Schuyler Colfax to urge the passage of a tariff rebate that would help increase the supply of inexpensive material for the reconstruction of the city. Despite strong opposition from lumber interests, the legislation succeeded in passing. Medill also convinced President Grant to give a personal $1,000 contribution to aid the city's reconstruction. More than $5 million in gifts and loans were collected from people and cities across the world.
Taking Medill's lead, on February 12, 1872, the Common Council approved 26-6 an ordinance that prohibited the construction of wood frame buildings in city limits.
Medill was a strong Republican loyalist who supported President Grant for re-election in 1872. This caused a breach with Tribune editor, Horace White after White supported the breakaway Liberal Republicans, reformists who nominated Horace Greeley for president.
In his second year as mayor, tensions arose as he began to further utilize the new powers given to the mayor. At the first 1873 meeting of the Common Council, Medill announced that he would be using the power to select the chairmen of members of the council committees. He appointed his loyalists to lead most important committees, while aldermen of wards consisting of immigrant populations received lesser consideration for appointments. In the first three months of 1873 alone, Medill practiced his veto power on five Common Council ordinances.
Medill and his police superintendent Elmer Washburn cracked down on gambling.
Medill met not only resistance from a Common Council divided over his exercise of power and aspects of his agenda, but also resistance from citizens. Anton C. Hesing derided him as "Joseph I, Dictator".
The stress of the job of mayor impaired Medill's health. In August 1873, he appointed Lester L. Bond as Acting Mayor for the remaining 3½ months of his term, and went to Europe on a convalescent tour.