 Sultan Ahmad appeared to be co-operating with the British, but his sympathies were known for the dissidents.By 1895 the revolt was suppressed by the British and many of the dissidents surrendered.In July 1895, Sultan Ahmad signed the Federation Agreement, which made Pahang, alongside with Perak, Selangor and Negeri Sembilan, one of the Federated Malay States, the protectorate state of the British Empire.