NOGALES, Ariz. — A Mexican man has been arrested for allegedly assaulting a Border Patrol agent in southern Arizona.

U.S. Customs and Border Protection officials say the agent was kicked multiple times in the head, but was able to arrest his attacker before going to a hospital for an evaluation of his injuries.

They say the 25-year-old suspect was attempting to cross the U.S.-Mexico border Sunday east of Nogales, Arizona, and resisted arrest before assaulting the agent.

The man was seen climbing a fence east of Nogales and the agent pulled him off it.

Federal authorities say the man will be charged with assault and processed for violating immigration law.

His name and the agent’s identity weren’t immediately released Monday.