Texas QuickInfo Est. Pop.: 20,856,796 Capital: Austin Statehood: 1845 Nickname: Lone Star State Motto: Friendship Official Website Corporations Census Info Fun Tx Factoid Dr Pepper was invented in Waco in 1885. The Dublin Dr Pepper, 85 miles west of Waco, still uses pure imperial cane sugar in its product. There is no period after the Dr in Dr Pepper.