The president of Mexico when the Law of April 6, 1830, was passed was Anastasio Bustamante. The civil war that is often referred to in the context of this period is the Texas Revolution, which began later in 1835. Therefore, the correct answer is:
Anastasio Bustamante