Complex sentence: Later she was stationed at HMNB Portsmouth, where she was promoted to commodore on 22 June 2004, before returning to Faslane as base commander.
Split into simpler sentences: Later she was stationed at HMNB Portsmouth. While there, she was promoted to commodore on 22 June 2004, and then returned to Faslane as base commander.