At the start of the Rattanakosin or Bangkok period in the late eighteenth century, when the capital was finally settled at Bangkok, an elephant kraal was established in Krabi by order of Chao Phraya Nakorn (Noi), the governor of Nakhon Si Thammarat, which was by then a part of the Thai Kingdom. He sent his vizier, the Phra Palad, to oversee this task, which was to ensure a regular supply of elephants for the larger town. So many followers emigrated in the steps of the Phra Palad that soon Krabi had a large community in three different boroughs: Pakasai, Khlong Pon, and Pak Lao. In 1872, King Chulalongkorn graciously elevated these to town status, called Krabi, a word that preserves in its meaning the monkey symbolism of the old standard. The town's first governor was Luang Thep Sena, though it continued a while as a dependency of Nakhon Si Thammarat. This was changed in 1875, when Krabi was raised to a fourth-level town in the old system of Thai government. Administrators then reported directly to the central government in Bangkok, and Krabi's history as a unique entity separated from the other provinces, had begun.
The Kingdom of Ligor in 1200, when the city Ban Thai Samor was part of that kingdom. In modern times, Krabi was administered from Nakhon Si Thammarat, even after 1872 when King Chulalongkorn granted Krabi the status of a town. In 1875 it was made a direct subordinate of Bangkok, becoming what is now a province. In 1900 the governor moved the seat of the province from Ban Talad Kao to its present location at the mouth of the Krabi river.
It is believed the town may have taken its name from the word "krabi", which means sword. This may stem from a legend that an ancient sword was unearthed prior to the city’s founding.
Power by wikipedia.org