A group of Brampton high school students has learned its punishment for tweeting inappropriate remarks about some of their teachers.

The seven students from St. Marguerite D’youville Secondary School were told to stay home Wednesday after education officials learned of the tweets.

According to Dufferin Peel Catholic District School Board Spokesperson Bruce Campbell, two of those students have now received seven day suspensions while three others have been handed two day suspensions.

Meanwhile, the two other students who were told to stay home Wednesday are back in classes.

All of the students will have to write letters of apology for their actions.

An additional two students whose involvement was deemed to be minimal were given warnings, Campbell said.

Speaking with CP24, Campbell said the school principal has already addressed the entire student body regarding the appropriate use of social media and the importance of treating everyone with dignity and respect.

Some of the messages that were posted to the mico-blogging website were sexual in nature, and school officials described the tweets as a form of cyber-bullying.

@ChrisKitching is on Twitter. Don't forget, for instant breaking news, follow @CP24 on Twitter.