Which sentence contains a misplaced modifier?

  • While on its way to Jupiter, the Starship Enterprise flew through a powerful dust storm.
  • The spaceship will orbit Jupiter for six months.
  • The spaceship's warriors battled the Klingon Empire for many years.
  • The grateful soldier relaxed after years of battle in his living room.