 He was educated in France, where he graduated as a lawyer in 1921.Upon his return to Africa, Guèye founded a political party and became mayor of Saint-Louis, Senegal, in 1924.He became leader of the French Socialist Party in Senegal in 1937, and was elected as one of two Senegalese representatives to the National Assembly alongside Léopold Senghor in 1944.