Pattani (Patani) or the Sultanate of Patani was a Malay sultanate in the historicalPatani Region. It covered approximately the area of the modern Thai provinces of Pattani, Yala, Narathiwat and much of the northern part of modern Malaysia. The 6–7th century Hindu state of Pan Pan may or may not have been related.