What was the purpose of forming Congress and Muslim League?

What was the purpose of forming Congress and Muslim League?

کانگریس اور مسلم لیگ بنانے کا مقصد کیا تھا؟
Explanation

The Muslim League was founded in 1906 in Dhaka with the aim of representing the interests of Indian Muslims.

Retired British Indian Civil Service officer AO Hume founded the Indian National Congress in order to form a platform for civil and political dialogue among educated Indians in 1885