<prompt> Translate the following text to SwahiliThe Kamehameha line ended with the death of Kamehameha V, in 1872, and the election first of William Lunalilo, then of David Kalakaua in 1874 as Hawaiis constitutional monarch.  <response>: Mstari wa Kamehameha ulikoma na kifo cha Kamehameha V, na uchaguzi wa kwanza wa William Lunalilo, kisha David Kalakaua, kama mfalme wa kikatiba wa Hawaii. 