Thus, part of the motivation in founding this new mosque was apparently to provide a Friday mosque (which held the "khutba" or Friday sermon, an important religious service) close enough to the western neighbourhoods and to the Almohad garrisons.