The state of Texas is divided into 254 counties, more than any other U.S. state. Texas was originally divided into municipalities, a unit of local government under Spanish and Mexican rule.