As a result of these back-to-back attacks, Congress passed the Gulf of Tonkin Resolution, which granted President Johnson the authority to use military force in retaliation without having to declare war. Essentially, this was the legal basis for the United States' involvement in Vietnam.