Final answer:
Wyatt Earp served as a lawman in Abilene and Wichita - two important Kansas cowtowns during the 1860s and 1870s.
Step-by-step explanation:
Wyatt Earp served as a lawman in two Kansas cowtowns - Abilene and Wichita. Abilene was one of the most famous cowtowns during the cattle drives of the 1860s and 1870s. It was known for its stockyards, hotels, and other amenities that catered to cowboys and the cattle industry. Wichita, another important cowtown, also provided facilities and services for cowboys and became a prominent hub for the cattle industry.