 Lamar served as a representative until 1889, when he was appointed the 16th Florida Attorney General by newly elected Governor Francis P. Fleming.During his long 14 year tenure as Attorney General, Lamar oversaw the industrialization and modernization of the formerly agrarian Florida economy.However, Lamar ensured that Florida would remain segregated, as he turned a blind eye while his subordinates instituted laws banning blacks from entire towns.