Passage: By 1940, Jinnah had come to believe that Muslims of the Indian subcontinent should have their own state. In that year, the Muslim League, led by Jinnah, passed the Lahore Resolution, demanding a separate nation. During the Second World War, the League gained strength while leaders of the Congress were imprisoned, and in the elections held shortly after the war, it won most of the seats reserved for Muslims. Ultimately, the Congress and the Muslim League could not reach a power-sharing formula for the subcontinent to be united as a single state, leading all parties to agree to the independence of a predominantly Hindu India, and for a Muslim-majority state of Pakistan.

Question: Who could not come to an agreement on power sharing?
Congress and the Muslim League