The Foxes looked doomed towards the backend of last campaign, but they went on a wonderful run of form and managed to avoid the drop.
However, despite avoiding relegation, Leicester still sacked Nigel Pearson and decided to replace him with Ranieri.
Albrighton feels that the Italian took the job only because of the fighting spirit he saw from them under Pearson’s regime.
"It is testament to him that he has come in and he knew he had the foundations here," Albrighton told the Leicester Mercury. "When he took the job, he probably looked at that, saw it and that is why he took it.
"He has just tweaked little things and it has worked tremendously, all the players are working for each other, the staff and the manager. Everything seems to be clicking into place at the minute."
Although the decision to replace Pearson with Ranieri was widely criticised at the time, it is now looking like a masterstroke from the Leicester board.
The Foxes have been in brilliant form under Ranieri, and they are now in third place in the Premier League table.
The former Chelsea manager has enhanced Leicester’s attacking threat, while he has also helped them develop their fighting spirit.
Leicester return to action after the international break with a match against Newcastle United.