On 22 August, nearly two months after the main uprisings had been defeated, about 1,000 French soldiers under General Humbert landed in the north-west of the country, at Kilcummin in County Mayo. Joined by up to 5,000 local rebels, they had some initial success, inflicting a humiliating defeat on the British in Castlebar   and setting up a short-lived "Irish Republic" with John Moore as president of one of its provinces, Connacht. This sparked some supportive uprisings in Longford and Westmeath which were quickly defeated, and the main force was defeated at the battle of Ballinamuck, in County Longford, on 8 September 1798. The Irish Republic had only lasted twelve days from its declaration of independence to its collapse. The French troops who surrendered were repatriated to France in exchange for British prisoners of war, but hundreds of the captured Irish rebels were executed. This episode of the 1798 Rebellion became a major event in the heritage and collective memory of the West of Ireland and was commonly known in Irish as Bliain na bhFrancach and in English as "The Year of the French". On 12 October 1798, a larger French force consisting of 3,000 men, and including Wolfe Tone himself, attempted to land in County Donegal near Lough Swilly. They were intercepted by a larger Royal Navy squadron, and finally surrendered after a three-hour battle without ever landing in Ireland. Wolfe Tone was tried by court-martial in Dublin and found guilty. He asked for death by firing squad, but when this was refused, Tone cheated the hangman by slitting his own throat in prison on 12 November, and died a week later.
Question: Who  had a the largest force, 1000 French or 5000 local rebels?
Answer: 5000 local rebels