Successively , she was a member of the Social Democracy of the Kingdom of Poland and Lithuania ( SDKPiL ) , the Social Democratic Party of Germany ( SPD ) , the Independent Social Democratic Party of Germany ( USPD ) and the Communist Party of Germany ( KPD ) .