Sri Lanka was formerly known as Ceylon until 1972, when it became a republic and adopted its current name. The name "Ceylon" was used during the colonial period under Portuguese, Dutch, and British rule. The change to Sri Lanka reflected the country's independence and cultural heritage after gaining freedom from colonial powers.