Kiwi tennis number one Marina Erakovic has battled through qualifying to make the main draw at the WTA tournament in Rabat, Morocco.

The Aucklander has beaten Spaniard Georgina Garcia Perez 4-6, 6-4, 6-3 in the final round of qualifying.

It's only the third time this year Erakovic has featured in the main draw at a WTA tournament and she plays Romanian Andreea Mitu in the first round tomorrow.