However, as Union occupation dominated the state after the failure of the Confederate Heartland Offensive to take Kentucky firmly from August to October 1862, the Kentucky Confederate government, as of 1863, existed only on paper. Its representation in the permanent Confederate Congress was minimal. It was dissolved when the Civil War ended in the spring of 1865.