The Strait of Malacca is a narrow stretch of water, 500 mi (800 km) long and from 40 to 155 mi (65–250 km) wide, between the Malay Peninsula (Peninsular Malaysia) to the northeast and the Indonesian island of Sumatra to the southwest, connecting the Andaman Sea (Indian Ocean) and the South China Sea (Pacific Ocean). As the main shipping channel between the Indian and Pacific oceans, it is one of the most important shipping lanes in the world. It is named after the Malacca Sultanate that ruled over the strait between 1400 and 1511, the center of administration of which was located in the modern-day state of Malacca, Malaysia.