In 1456, Tun Perak was victorious over the Thai assaults from Pahang.
After allied district chiefs had repelled assaults from Thai-controlled armies from Pahang, Tun Perak personally led a famous victory over a Thai fleet off Batu Pahat in 1456.