BlackBerry, the once-dominant maker of smartphones that fell on hard times in recent years, has found a suitor willing to pay $4.7bn for the troubled company.

Fairfax Financial, a Canadian firm that already owns 10% of BlackBerry, has agreed to join forced with an unnamed consortium of other buyers to acquire the company for $9 a share.