NEW DELHI — The police in India have arrested at least 19 people on charges of sedition for jubilantly celebrating Pakistan’s victory over India in the final of a cricket tournament played in Britain this week.

Matches between the teams of the two neighbors are met with nail-biting tension in India, and the match in London on Sunday was no exception.

After Pakistan won, the police encountered people shouting pro-Pakistan slogans and setting off firecrackers in celebration. The arrests, most of which took place this week in the central Indian state of Madhya Pradesh and the southern Indian state of Karnataka, involved students, laborers and shopkeepers, all Muslims ages 20 to 35, the police said.

The arrests come as some Muslims in India say they feel a sense of rising alienation. There have been episodes of violence, including by vigilante groups that have staged attacks on Muslims and low-caste Hindus suspected of slaughtering cows, which are considered sacred in Hinduism, the dominant religion in India.