Task: Question Generation
Input (English): Passage: At the end of November 1905, close to 1,000 insurgents and gendarmes were transported to Greece. Nevertheless, despite their departure and the halt to the revolt called by Venizelos, Crete remained tense and the island was liable to erupt in insurrection yet again. Tensions between the supporters of each side led to conflict. For instance, when municipal elections were held and the opposition won 40 of 77 available mayoral posts, bloodshed resulted. In February 1906, the Great Powers sent a mission to evaluate Crete's administration and finances. At the end of March, the members of the commission finished their study, which they gave to the Powers. Fresh legislative elections took place in May 1906. The Prince's party won 78 seats in the assembly, while the opposition won 36. When Prince George opened the parliamentary session in July, he announced that the international commission's report had been studied by the Great Powers, who were also considering how Cretans' national aspirations could be taken into account. Strengthened in its intentions, the assembly once again voted for Crete's annexation by Greece and suspended its activities until the Powers' decision was to be made known. On 25 July, at Chania, the Great Powers announced a series of proposed reforms for the island:.
Output (English): Of 77 mayoral posts, how many were won by the ruling party?