In the sentence Venezuela declared herself independent of Spain first, 'herself' is the object and 'independent of Spain' is the complement.