Former child star Tami Erin is facing fresh legal troubles after her ex-boyfriend applied for a restraining order against her.

The actress, who played the title role in 1988 movie The New Adventures of Pippi Longstocking, is accused of repeatedly calling her former partner David Young at his office and leaving nasty messages, according to Tmz.com.

The website's editors report Young, who split from Erin almost two years ago, has gone to court to apply for a restraining order against Erin.

The news is a fresh blow to Erin, who has faced a number of legal troubles in recent months after she was arrested on suspicion of drink-driving late last year (13).