 It was named after Muslim troops of Fatahillah successfully defeated and drove out the Portuguese away from the city in 1527.Before it was called Jayakarta, the city was known as 'Sunda Kelapa'.Tomé Pires, a Portuguese apothecary during his journey to East Indies, wrote the city name on his magnum opus as "Jacatra" or "Jacarta".