US President James K. Polk asked Congress to declare war on Mexico.

The US Congress approved the declaration of war on May 13.

Source