Mahomet was first called Middletown. This was presumably because it is half-way point between Bloomington and Danville. But there was another Middletown in Illinois. Therefore, in the mid-19th century, the name was changed. 