George Tupou I, born Tāufaʻāhau in 1797, was the Tongan chief who unified the islands in the 1840s after decades of civil war and founded the modern Kingdom of Tonga. With Wesleyan missionaries as advisers he issued a code of laws in 1862 and a constitution in 1875, creating a constitutional monarchy, a parliament and a land system that allocated holdings to Tongan men. He abolished serfdom and encouraged education, and his dynasty has continued to rule Tonga into the present. Tupou I died in 1893, and Tonga became a British protectorate in 1900 while retaining its monarchy.