How did swaziland get its name?

Swaziland country's name was from King Mswati II. The country has an alternate name KaNgwane from King Ngwane III. The people of Swaziland are called Swazis.