sentences:  He had attained the rank of captain and command of a company by the time he volunteered to serve in the Spanish–American War.Shannon remained in the National Guard, and by 1915 had become commander of the 4th Infantry with the rank of colonel.He commanded his regiment on the Mexican border during the 1916 Pancho Villa Expedition.