(Reuters) - A North Carolina man admitted on Friday that he ripped off a Muslim woman’s head scarf during a flight to New Mexico last December after saying, “Take it off! This is America!”

Gill Payne, 37, pleaded guilty in U.S. District Court in New Mexico to one count of using force to intentionally obstruct the woman from freely exercising her religious beliefs, prosecutors said.

“No matter one’s faith, all Americans are entitled to peacefully exercise their religious beliefs free from discrimination and violence,” said Vanita Gupta, head of the U.S. Justice Department’s Civil Rights Division.

An attorney for Payne said by e-mail: “Mr. Payne has taken responsibility for his actions and is sorry for them. He is ready to begin the healing process and move forward.”

Payne admitted that on a flight last December, he approached the aisle where the Muslim woman was seated shortly before landing in Albuquerque, and stopped next to her seat, Prosecutors said.

Payne then told the woman, a stranger identified in court documents as K.A., to take off her hijab, saying something to the effect of “Take it off! This is America!” prosecutors said.

Payne then grabbed the back of the hijab and “pulled it all the way off,” leaving her head exposed.

“As a result, K.A. felt violated and quickly pulled the hijab back up and covered her head again,” prosecutors said in a statement.

A sentencing hearing for Payne has not yet been set, prosecutors said.

However, under the terms of a plea agreement struck with prosecutors and accepted by a magistrate judge, Payne will likely serve two months of home detention as well as probation, Payne’s attorney, Amber Fayerberg, said. The judge could also impose a fine, she said.

The guilty plea comes in the wake of a number of anti-Muslim incidents in the United States.

Earlier this week, a Muslim advocacy group said a California student was embarrassed and distressed after her name was incorrectly listed as Isis, the abbreviated name of the Islamic militant group.

In late April, a New Jersey school board member resigned after drawing fire over anti-Muslim Facebook posts, including one saying, “America needs to get rid of people like you.”

In the wake of deadly attacks by Islamist militants in Paris and California last year, Donald Trump, now the presumptive Republican White House nominee, called for a temporary ban on Muslims entering the United States.