Complex sentence: She was assigned to the squadron under Sir Samuel Hood on 25 September 1806, and in 1807 Lieutenant John Bowker took over command in an acting capacity.
Split into simpler sentences: She was assigned to the squadron under Sir Samuel Hood on 25 September 1806. In in 1807 Lieutenant John Bowker took over command in an acting capacity.