The book of Portuguese apothecary Tomé Pires that documents his observations of Java and Sumatra from his 1512 to 1515 visits, is considered one of the most important sources on the spread of Islam in Indonesia. In 1520, Ali Mughayat Syah started military campaigns to dominate the northern part of Sumatra.