Write a question about the following article: On 10 August 1921, the police attempted to arrest Vadakkevittil Muhammed, the secretary of the Khilafat Committee of Ernad at Pookkottur, alleging that he stolen the pistol of a Hindu Thirumulpad from a Kovilakam  in Nilambur. A crowd of 2,000 Mappilas from the neighbourhood foiled the attempt, but on the following day a squad of police arrested a number of Khilafat volunteers and seized records at the Mambaram mosque in Tirurangadi, leading to rumours that the building had been desecrated. A large crowd of Mappilas converged on Tirurangadi and besieged the local police station. The police opened fire on the crowd, triggering a furious reaction which soon engulfed the Eranad and Valluvanad taluks along with neighbouring areas and continued for over two months. Following the mosque incident, the rebels attacked and seized police stations, government treasuries, and entered the courts and registry offices where they destroyed records. Some even climbed into the judges' seats and proclaimed the advent of swaraj . The rebellion soon spread to the neighbouring areas of Malappuram, Manjeri, Perinthalmanna, Pandikkad and Tirur under principle leaders Variankunnath Kunjahammad Haji, Seethi Koya Thangal of Kumaranpathor and Ali Musliyar. By 8 August 1921, British administration had virtually come to an end in Malappuram, Tirurangadi, Manjeri, and Perinthalmanna, which then fell into the hands of the rebels who established complete domination over the Eranad and Valluvanad Taluks. On 24 August 1921, Variankunnath Kunjahammad Haji took over command of the rebellion from Ali Musliyar. Public proclamations were issued by Variyankunnath and Seethi that no harm should come to Hindus and that those Mappilas who resorted to looting would receive exemplary punishments.
Who commanded the rebellion first, Variankunnath Kunjahammad Haji or Ali Musliyar?