A city council, town council, town board, or board of aldermen is the legislative body that governs a city, town, municipality, or local government area.

Can we conclude that is the city council part of the legislative branch?
yes