The Portuguese– Egyptian 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 1498. The conflict took place during the early part of the 16th century, from 1505 to the fall of the Mamluk Sultanate in 1517.