Question: when obama was president who controlled congress?
Answer: Obama also appointed Supreme Court Justices Elena Kagan and Sonia Sotomayor, the latter of whom became the first Hispanic American on the Supreme Court. Democrats controlled both houses of Congress until Republicans won a majority in the House of Representatives in the 2010 elections.