MONTREAL -- A Quebec politician's daughter has been granted a conditional discharge for causing damage during the 2012 student protests.

Yalda Machouf-Khadir, the daughter of Quebec solidaire member Amir Khadir, will have to serve 240 hours of community service and will be under probation for three years.

She won't have a criminal record if she abides by the conditions.

Machouf-Khadir, who aspires to become a lawyer, pleaded guilty to taking part in the ransacking of the Quebec education minister's office as well as vandalism that occurred during protests at a Montreal junior college and a university.

Machouf-Khadir previously pleaded guilty to several charges including mischief, breaking-and-entering, conspiracy to commit mischief and wearing a disguise.

Quebec court Judge Jean-Pierre Boyer said he believes the remorse the accused has shown is sincere and that she realizes that people would have felt threatened by her actions.

The province gained international attention in 2012 when a dispute over proposed tuition hikes boiled into a months-long uprising.

The unrest, dubbed the Maple Spring, saw thousands of protesters hit Montreal streets night after night and several incidents of violence across the province.

Amir Khadir told reporters Monday that as far as he's concerned, her daughter was contributing to the public discussion.

"My daughter is very proud of having contributed positively to a debate," said Khadir.

"Some mistakes happened, and she's assuming (responsibility) ... she's happy that justice was rendered."