NDP leader Jagmeet Singh said he isn’t ruling out attending future Sikh nationalist events — provided the events don’t have the goal of promoting violence.

It comes just two days after NDP MP Alexandre Boulerice said Singh should “avoid any circumstance” where he could be associated with people advocating violence.

Singh said Wednesday after meeting with caucus that he would not attend any event that clearly advocates political violence.

“I’ve never attended an event where the goal was to advance political violence, nor would I ever,” Singh said.

The NDP leader got into some hot water for attending two nationalist events before making the leap into federal politics. The first was a 2015 San Francisco pro-Sikh independence rally, where Singh spoke in front of a poster of Jarnail Singh Bhindranwale. Bhindranwale championed the Sikh sovereignty movement and was associated with acts of violence before being killed in 1984 during a conflict between separatists and the Indian Army at the Golden Temple.

In 2016, Singh was a part of a seminar on Sikh independence where a youth leader said that violence is a legitimate form or resistance for Sikh sovereigntists.

Despite the controversies that emerged after The Globe and Mail and other media outlets found out that Singh attended the two events, Singh said he has no regrets.

“I don’t regret the work that I’ve done,” Singh said when asked about the two events.

“I’ve always worked for peace and reconciliation and I believe it’s important to reach out to people.”

Singh said he attended the Sikh nationalist events as a member of that Ontario legislature. He said as NDP leader, his priorities are now different and he would not attend such events outside of Canada again.

“I’m a federal leader, my priority is going to be to reach out to as many Canadians as possible, to attend events where I can connect with Canadians in Canada.”

Singh said that does, however, include connecting with Canadians at Sikh nationalist rallies as long as the events don’t have the goal of promoting violence.

Boulerice proposed a stricter stance Monday, saying “Probably the right thing to do is to avoid any circumstance where you can in some way be related to those people who are saying violence is a good idea.”

However, Boulerice insisted that Singh has the full support of the party, adding that he is “quite confident that Mr. Singh will do the right thing for the future.”