Democrat control of both chambers of Congress spanning from 2007 till the end of 2010 was indeed controlled by the Democrats.
They don’t still control both chambers now, so the statement, as it was written, isn’t accurate.