With the establishment of Kyoto Prefecture in 1868, the chogumi of Kamigyo and Shimogyo were organized into Kamigyo bangumi (town unit) Nos. 1-45 and Shimogyo bangumi Nos.1-41, but a year later in 1869, they were reorganized into Kamigyo bangumi Nos. 1-33 and Shimogyo bangumi Nos. 1-32 by the chogumi reorganization.
明治元年（1868年）、京都府の成立とともに、上京・下京の町組は上京1-45番組、下京1-41番組に編成されるが、翌明治2年（1869年）には町組改正で上京1-33番組、下京1-32番組に再編成された。