Mexico has asked the United States for an investigation into American border officers’ actions along the nations’ shared border, two days after agents near San Diego used tear gas, smoke and pepper spray to repel a group of migrants trying to cross into the United States.

On Thursday, Mexico’s Foreign Ministry said it sent a diplomatic note to the United States Embassy about two episodes, on Jan. 1 and Nov. 25, in which American agents sent tear gas into Mexico near San Diego and Tijuana, Mexico.

The note requested “a thorough investigation” and “deplores the occurrence of any sort of violent act on the border with Mexico,” the ministry said in a statement.

Mexican officials also repeated their “commitment to safeguard the human rights and safety of all migrants,” and said they would hold a meeting with the United States Department of Homeland Security and the Border Violence Prevention Council, a joint American-Mexican body meant to prevent violence at the border.