Complex sentence: He served in the East Indies as Commodore and commander-in-chief of a fleet until 1805, when he returned to England and retired from active duty.
Split into simpler sentences: He served in the East Indies as Commodore and commander-in-chief of a fleet. In 1805 Rainier returned to England and retired from active duty.