BRAMPTON, Ont. -- An Toronto-area police force says its Twitter account has been restored after being hacked and taken off-line for more than a day.

A representative from Peel Regional police says the account was hacked on Monday evening, and photos posted online showed the account tweeting profanities and racial slurs on Monday night before it was suspended.

Const. George Tudos says it took more than a day for the account to be restored because the content that was posted when it was hacked had to be "cleaned up".

He says the force regained control of the account with the help of Twitter Canada.

Tudos says they're still not sure how the hack happened, but that an investigation is ongoing.

Representatives from Twitter did not immediately respond to a request for comment.