Falange joined the military uprising against the Republic. The initially marginal party gained ascendancy over the course of the war, partly as a result of its prominent role in the brutal repression that took place behind Nationalist lines. Nevertheless, the party lost autonomy, and in 1937 was made wholly subservient to the will of General Franco when he had Primo de Rivera's temporary replacement, Manuel Hedilla Larrey, thrown in jail, tried and sentenced to death (although his sentence was commuted). Franco decreed the merging of the Falange Española de las JONS with the Carlist traditionalists through the Unification Decree, and became the national chief of the new party, FET y de las JONS.