Before and after the founding of New China (I don't know the time, a long time ago), the division between Zoucheng and Qufu was not like this.
Before the re-demarcation, the former residence of Confucius, namely Sankong, belonged to the boundary of Zoucheng.
But later, the country re-divided the counties and cities and put the three holes under Qufu, so now people say that Qufu is the hometown of Confucius.
What I said is absolutely true. The older generation told me. There are questions about Zoucheng and Mencius and Confucius, please ask me!
I hope my answer can solve your problem!