A Border Patrol agent was wounded after an illegal alien pelted him in the head with a rock.

The Customs and Border Protection El Centro tweeted several pictures of the agent and his vehicle, showing a shattered window and a gash above his left eye.

The agent was patrolling the border near Calexico, California when he was hit.

He appeared to be in a hospital receiving treatment. The agency also tweeted a photo of the large jagged rock that struck the officer.

Agents have told The American Mirror vehicles patrolling near the border have been fitted with mesh and steel bars to foil rock throwers. That apparently wasn’t the case with this agent’s vehicle.

From 2006 to 2016, there had been 7,542 agents assaulted in the line of duty, according to CNS News.

Thirty had died while protecting the border from 2003 to 2016.