<prompt> Translate the following text to SwahiliA thwarted Mongol invasion in 1274 weakened the Kamakura regime.  <response>: Uvamizi wa Wamongolia wa mwaka 1274 ulifanya utawala wa Kamakura udhoofike. 