sentences:  He also continued his work from Champa, teaching the locals ways to improve harvests and treating the ill.Through his trading, Ibrahim became acquainted with the ruling class and nobles.After journeying to Trowulan to meet the king of Majapahit, he was granted a landing on the outskirts of Gresik which was used for preaching; Ibrahim also founded an Islamic boarding school there.