William Denny died in June 1854 leaving Peter as the main partner in Dennys, while his other brother James retired in 1862.
The passage describes a change in partnership dynamics within the business "Dennys" following the death of William Denny and the subsequent retirement of James Denny.