<prompt> Translate the following text to SwahiliNo sooner was the magnificent project completed than the king, jealous of his palace, had its owner arrested for embezzlement and jailed for life.  <response>: Baada ya ujenzi huo kukamilika, mfalme huyo alimwambia mwenye nyumba hiyo amkamate kwa sababu ya udanganyifu na kumfunga gerezani maisha yake yote. 