Glendive is a city in and the county seat of Dawson County, Montana, United States. Glendive was established by the Northern Pacific Railway when they built the transcontinental railroad across the northern tier of the western United States from Minnesota to the Pacific Coast. The town was the headquarters for the Yellowstone Division that encompassed 875 route miles (1,408 km); 546 (879) in main line and 328 (528) in branches with the main routes from Mandan, North Dakota, to Billings, Montana, and from Billings to Livingston, Montana. The town of Glendive is an agricultural and ranching hub of eastern Montana. The town is tucked between the Yellowstone River and the Badlands, named for the rugged terrain and jagged rock formations that are known to exist in the area. Makoshika State Park is located just east of Glendive.