Why is the malolos republic considered in history as the first Philippine republic and not the kakarong republic nor the biak-na-bato republic?

because it has an electoral proper