Chapter 277, Election Code, applies to a petition requesting removal under this subchapter.