Gareth Ainsworth takes charge at QPR with Colchester's Matt Bloomfield to replace him at Wycombe
Gareth Ainsworth has left Wycombe to become the new head coach of QPR, with Colchester's Matt Bloomfield set to replace him at the League One side.
The 49-year-old former Rs midfielder Ainsworth left the League One side after 10 years in charge to sign a three-and-a-half-year deal at Loftus Road.
Neil Critchley was sacked by QPR on Sunday after just 12 games in charge, having replaced Michael Beale in December.
Wycombe announced Colchester boss Bloomfield has "agreed in principle" to become their new manager following Ainsworth's departure.
The 39-year-old spent 18 years as a player at Wycombe, making over 500 appearances, before taking on his first job as manager at Colchester in September.
Ainsworth told QPR's official website: "This is all a little bit surreal. It has been a whirlwind two days and leaving Wycombe Wanderers was very tough because of the connection there.
"But this is QPR and when I spoke about something special forcing me away from Wycombe, this was pretty special.
"It's the club where I was most known for playing and you get moments in your career that resonate with you forever.
"I loved my time here as a player and hopefully I can go on and love my time here as a manager as well."
Ainsworth made 152 appearances in all competitions for QPR between 2003 and 2010 and had two spells as caretaker manager during the 2008/09 season.
He has been followed from Wycombe to Loftus Road by assistant head coach Richard Dobson and first-team analyst Josh Hart.
QPR chief executive Lee Hoos added: "We are delighted to have been able to bring Gareth in so quickly.
"I would like to thank Wycombe Wanderers for their professionalism. We have the utmost respect for them and are hugely sympathetic as we recognise the challenging nature of these circumstances."
The Hoops are winless in 10 Sky Bet Championship matches and sit 17th in the table.