The New Mexico Civil Guard has been barred from publicly acting as a military unit without authorization or assuming the role of law enforcement by using organized force at public protests or gathering, according to a newspaper.

The Albuquerque Journal reported Tuesday that District Court Judge Elaine Lujan also has banned such activity by the group’s directors, officers, agents, employees, members and any of their successor organizations and members.

SEVERAL INJURED AFTER NEW MEXICO SCHOOL BUS ROLLS OVER

Lujan granting a motion by Bernalillo County District Attorney Raúl Torrez, who told the Journal that the decision, "fundamentally represents a victory for the rule of law….We’re trying to prevent violent extremism."

New Mexico breaking news graphic

The New Mexico Civil Guard is accused of acting as a military unit without being called to military service by the state's governor, according to a lawsuit.

A lawsuit alleged members of the New Mexico Civil Guard violated state law by exercising or attempting to exercise the functions of a peace officer without authority and have organized and operated as a military unit without having been called to military service by the governor, according to the Journal.

CLICK HERE TO GET THE FOX NEWS APP

The newspaper said the governor has exclusive authority under the state Constitution to call on the militia to keep the public peace.