BARCELONA — Imagina Intl. Sales, Spain’s top TV/movie saleshouse, has acquired international rights to historical skein “Ermessenda, Queen of Kings,” which scored this week the best perf ever for a local miniseries at Catalan pubcaster TV3.

Co-produced by Barcelona-based shingle Ovideo and TV3, and broadcast Monday and Tuesday, “Ermessenda” averaged a strong 22.3% share and 667,000 eyeballs in primetime.

Set at the beginning of the 11th century, miniseries turns on family matriarch Ermessenda of Carcassona, Countess of Barcelona, who battled for dominion over a male world for more than 50 years.

Starring by Laia Marull (“Take My Eyes”) and Lluis Homar (“Julia’s Eyes”), “Ermessenda” was directed by Lluis Maria Guell.

“Spanish TV miniseries find their main international market in Europe, even more if they are period dramas,” said IIS sales director Geraldine Gonard.

“Ermessenda” will make its international market debut at Cannes’ upcoming Mip TV market, where other IIS’s highlights will premiere, such as Spain’s highest-rating rookie TV series “The Boat” and LaSexta’s upcoming comedy “Buenagente.”

IIS is best-known in TV for selling many of Spain’s top primetime dramas, as both original series and redos.

Created 2007 by the merger of Spain’s Globomedia Group and Mediapro, IIS’s dramas such as college mystery skein “Boarding School” or cop thriller “Countdown” have helped drive a notable hike in recent Spanish TV export sales.

Upcoming sales events for IIS’s include the Russian TV premiere of the local adaptation of “Boarding School,” scheduled for April 11 on country’s leading commercial broadcaster CTC Network, produced by Amedia Prods.

France’s TF1 recently started to broadcast RTL’s German adaptation of “Countdown,” after it successfully aired the Spanish original version.