The night after the ultimatum was accepted, composer Alfredo Keil, at the suggestion of a group of friends that included Rafael Bordalo Pinheiro and Teófilo Braga, wrote the melody for "A Portuguesa" as a patriotic protest march.
Pada malam setelah ultimatum itu diterima, sang komposer, Alfredo Keil, atas saran sekelompok teman termasuk Rafael Bordalo Pinheiro dan Teófilo Braga, menulis melodi untuk A Portuguesa sebagai suatu mars protes patriotik.