<prompt> Translate the following text to SwahiliThe city elected its first mayor in 1229, and a parliament was held for the first time in 1297.  <response>: Mji huo ulichagua meya wake wa kwanza mwaka wa 1229 na bunge lilifanyika kwa mara ya kwanza mwaka wa 1297. 