Blackberry has filed a lawsuit against Facebook, accusing the company of violating its patent rights.

According to Blackberry, Facebook used features from its popular application, Blackberry Messenger in its WhatsApp and Instagram applications.

Blackberry Messenger, once the biggest instant messaging app, has since fallen behind to WhatsApp.

In the filing, Blackberry claims Facebook has copied methods to notify users of new messages and tag people in photographs, among others. It says Facebook has been aware of its rights for years.

A spokeswoman for Blackberry said the company remains open to a partnership with Facebook.

ALSO: Photos: BlackBerry releases ‘Black Edition’ of KEYone with improved specs

“However, we have a strong claim that Facebook has infringed on our intellectual property, and after several years of dialogue, we also have an obligation to our shareholders to pursue appropriate legal remedies,” she said.

Facebook has however already indicated their desire to fight the suit, accusing Blackberry of losing the ability to innovate.

Paul Grewal, deputy general counsel of Facebook, said Blackberry’s claim “sadly reflects the current state of its messaging business”.

“Having abandoned its efforts to innovate, Blackberry is now looking to tax the innovation of others. We intend to fight,” he said.

Get more stories like this on Twitter Facebook.