Former West Coast Eagles star Daniel Kerr has been charged with aggravated stalking and breaching a violence restraining order.

The 37-year old fronted the Fremantle Magistrates Court on Thursday morning after being arrested on Wednesday night.

Police allege Kerr sent 135 text messages over a two-month span to his ex-girlfriend.

Kerr was granted bail with a $5000 surety and $5000 personal undertaking and must not contact his ex-partner

Whilst the text messages were not violent in nature, they did show that Kerr still had feelings for his ex-partner, who mothers one of his children.

โ€œ(The Texts) were all hoping to get back together because Iโ€™ve lost a family before.โ€ Kerr told the media outside the court.

Kerr did admit that there was one thing that was troubling him.

โ€œThe only time I sent text messages which I didnโ€™t like was when I seen her at the gym with my daughter and the form that she was teaching my daughter on push-ups, sit-ups actually, wasnโ€™t of the nature that I would like,โ€ He said.

โ€œWe will fight the 135 (Text Messages and) we will fight the stalking.โ€

Kerr, who played 220 games for the Eagles and won a premiership at the club in 2006, is next due to appear in court on September 8th.