 Quarles was a lawyer and became a member of the state legislature in 1811 and 1812.In the War of 1812, he armed and equipped a company of the Second Regiment Kentucky Militia at his own expense and then commanded them.After the war, he served as a circuit court judge.