The Portuguese–Mamluk naval war was a naval conflict between the Egyptian state of the Mamluks and the Portuguese in the Indian Ocean, following the expansion of the Portuguese after sailing around the Cape of Good Hope in 1497.