A group of about 100 people trying to illegally cross the border Sunday near the San Ysidro port of entry threw rocks and bottles at U.S. Border Patrol agents, who responded by using pepper spray and other means to force the crowd back into Mexico, federal officials said.

The incident has raised concerns among advocates on both sides of the immigration debate, as well as Border Patrol representatives.