Cowdenbeath have appointed Liam Fox as their new manager following the departure of Colin Nish in the wake of their relegation to Ladbrokes League 2.
The 32-year-old former Inverness Caley Thistle, Livingston and Raith Rovers midfielder makes the move to Central Park from Tynecastle, where he was U17 coach, and will be assisted by Jason Dair.
Chairman Donald Findlay told the Cowdenbeath website: "Liam is a highly regarded, talented and ambitious young coach. We have an excellent relationship with Heart of Midlothian and I am very grateful to Ann Budge and her colleagues for allowing Liam to join us as head coach.
"Liam and Jason are both aware of my determination to see the club make an immediate return to Ladbrokes League 1. Suffice it to say, they share that determination, relish the challenge and have already started work."
A statement on the Hearts website read: "This arrangement is a win-win for both the clubs and for Liam. Cowdenbeath is gaining a new head coach and Liam will gain invaluable experience in the white heat of competition in Ladbrokes League 2.
"This will enable him to build on the experience and training gained at Hearts and it is being done with the stated intention of him returning to Hearts in the future."