Jack Wilshere has left Danish club AGF after less than five months and is now “considering his next step” in his career.

The 30-year-old former England international, whose career has been marred by injury problems, joined the Danish Superliga side in February and made 14 league appearances for the club.

The former Arsenal and West Ham midfielder had been without a club since being released by Bournemouth last summer and had been training with Arsenal and Italian side Como to maintain his fitness as was looking for a new club.

Speaking on Instagram, Wilshere said: “My time at @agffodbold is over. The club and I have mutually agreed that it is best that I move on. I want to thank everyone at AGF for the support and confidence they gave me from day 1.

“The club showed me a confidence that few others were willing to give. Although the results were hard to come by, the support from the fans and the team was amazing. Thank you guys for welcoming me into your club and your city. I wish you all the best in the future. Personally, I am considering all my options.”

The Danish Superliga club released a statement saying: “AGF and Jack Wilshere have agreed not to extend the partnership.

“In the spring, AGF benefited from the great footballing and human qualities of Jack Wilshere on a contract which expired at the end of June.

“There was subsequently a dialogue on further cooperation, but after careful consideration, the parties have reached the joint conclusion that the agreement will not be extended.”

Sporting Director Stig Inge Bjornebye added: “We would all like to thank Jack for his time at AGF. It was a great pleasure to work with him and to see him share his experiences of a very enjoyable and special.”

It is unclear whether Wilshere will continue his playing career. Arsenal have reportedly held talks with Wilshere as they seek to fill their vacant Under-23 and Under-18 head coaching positions.

The Gunners lost U23 boss Kevin Betsy and U18 head coach Dan Micciche when the pair joined Crawley Town in June.