<prompt> Translate the following text to SwahiliThe kings commitment to democracy brought Spain into line with the rest of Western Europe and assured it of membership in the European Union, which was granted in 1986.  <response>: Kwa sababu ya kujitolea kwake kwa demokrasia, Hispania ilifanana na nchi nyingine za Ulaya Magharibi na ikawa na haki ya kuwa mwanachama wa Umoja wa Ulaya, ambayo ilitolewa mwaka 1986. 