A bill to ban yoga pants and other tight-fitting clothing in the state of Montana was killed on Wednesday by a legislative panel.

On Tuesday, state Rep. David Moore introduced House Bill 365, which would have expanded the definition of indecent exposure to include garments that "gives the appearance or simulates" a person's buttocks, genitals, pelvis or female nipple.

According to Raw Story, Moore's bill was intended to preserve Montana's reputation as a "decent state where people can live within the security of laws and protect their children and associates from degrading and indecent practices."

However, members of the House Judiciary Committee voted unanimously not to pass the proposal, reports SF Gate.

Although the bill did not specifically criminalize yoga pants, the Republican lawmaker announced that he supports the idea of arresting people for wearing tight or provocative clothing.

"Yoga pants should be illegal in public anyway," he said.

Moore introduced the bill after a group of naked bicyclists rode through his town in August of last year. City official feared that denying the group a permit to ride around in the nude would violate free speech rights.

Under the current state law, a person convicted three times for indecent exposure in Montana could be sentenced to life in jail and fined $10,000. However, Moore's bill would have reduced the sentence to five years in jail and a $5,000 fine but maintain the current the six-month jail term and $500 for a first offense or one-year jail term and $1,000 fine for a second offense.

Opponents like Democratic State Rep. Virginia Court noted that the bill seemed to be "a little prejudiced against women."

The Republican rep, however, said he would also ban men from wearing Speedo-style swimming trunks in public as well.