Q: Passage: Titanic was under the command of Edward Smith, who also went down with the ship. The ocean liner carried some of the wealthiest people in the world, as well as hundreds of emigrants from Great Britain and Ireland, Scandinavia and elsewhere throughout Europe who were seeking a new life in the United States. The first-class accommodation was designed to be the pinnacle of comfort and luxury, with an on-board gymnasium, swimming pool, libraries, high-class restaurants and opulent cabins. A high-powered radiotelegraph transmitter was available for sending passenger "marconigrams" and for the ship's operational use. Although Titanic had advanced safety features such as watertight compartments and remotely activated watertight doors, there were not enough lifeboats to accommodate all of those aboard, due to outdated maritime safety regulations. Titanic only carried enough lifeboats for 1,178 people -- slightly more than half of the number on board, and one third of her total capacity.

Question: Based on this passage, who was sailing the titanic when it crashed? Let's give stream of consciousness first:
This is the relevant information: Titanic was under the command of Edward Smith, who also went down with the ship. Therefore, the final answer is Edward Smith.