Republic of Ireland midfielder Glenn Whelan has signed a one-year deal with Scottish side Hearts of Midlothian. 

The 35-year-old has been out of contract and on the lookout for a new club since leaving Aston Villa at the end of last season, following their promotion to the Premier League.

Whelan had been in talks with Hearts boss Craig Levein for the past few weeks as the club looked to add some experience to their midfield, and penned a deal that will keep him at the club until 2020.

"I'm delighted. I just want to get the head down and get stuck into things," Whelan told Hearts TV.

"I've managed to train for the last couple of days with the lads, so I've got the meet and greet out of the way, but I'm delighted to get everything sorted out now."

Whelan also admitted that Levein's pitch played a major role in his decision to sign for the Edinburgh club.

"The manager has been crucial in getting me up here to be honest. He's shown a lot of ambition in where he wants the club to go.

"I came up training with the lads for a couple of days last week and was really impressed. At the stage I'm at, I've got all the kids and they are settled in school but we got things sorted. I'm up here now and ready to dig in and get some results.

"I'm not up here just to enjoy myself or for a jolly-up, I'm looking to achieve something with Hearts. It's a massive club in Scotland and please God, we'll have a decent season." 

Hearts finished sixth in the Scottish Premiership last season, but have yet to pick up a win two games into the current campaign.

Whelan could make his debut in Friday's Betfred Cup last 16 tie away to Motherwell.

Earlier on Friday, Ireland boss Mick McCarthy will name his squad for the Euro 2020 qualifier against Switzerland on September 5, with Whelan expected to be included. 

The Dubliner has won 86 caps for Ireland since 2008, and most recently played the full 90 minutes in June's 1-1 draw with Denmark in Copenhagen.