In 1879, the Taipei magistrate's government office was established to serve as the political center, and in 1881, Hung Teng-yun, a scholar in Wanhua district, donated land and money to set up an examination center.
光緒五年，建台北府衙於今開封街一段和漢口街一段之間，確立了政治中心，後來府衙附近一帶的街名，也都被冠以「府」字，如：府前街（今重慶南路）、府後街（今館前路）、府直街（今開封街）等。光緒六年，建立文廟於今北一女中校址。