My question involves landlord-tenant law in the State of: California

Q: CAN A LANDLORD EVICT A TENANT WITH NOTICE IF ON A MONTH TO MONTH LEASE JUST TO RENT IT OUT TO ANOTHER TENANT? (MO-2-MO RESULTING FROM EXPIRED LEASE)

UNIQUE BACKSTORY: (apologies for length of it!)
Been renting a condo from private owner/landlord for almost 2 yrs. Intital 6 mo. lease expired well over a yr ago. Rent was and continued to be 2400/mo.

Since then, I paid my rent month to month with no lease signed. Several months back, the landlord allowed me to shortpay rent for 2 months, which for each of the 2 months he applied 1000.00 of the 2400.00 sec deposit to rent payment. (I was still paying 2400 for those 2 months - just utilizing a good chunk of my sec deposit to do so.) thus, leaving a 400.00 sec deposit as the balance moving forward. (I was giving notice to move and he did this to keep me happy).

He drafted paperwork to outline this exact senario just mentioned but said nothing about months to follow except I must give 30 day notice if/when I move.

After the 2 "short pay" months I decided to stay and we agreed verbally on rent moving forward to be 1650/mo. That was last August.

Fast forward to Jan 09: In hearing he was in foreclosure on my unit, I asked him if he would accept 1400 for rent "this" month (JAN), and he said yes. Experiencing his many shady stunts pulled since the begining (too many to share), I figured he was not paying bank at tis point so he would be happy with whatever amount, nevertheless he agreed to the 1400.

So just last week I saw my place advertise on Cr*igs List. Is there any way he could be renting from under me with plans to push me out? I have always paid rent, delt with mutiple time where he failed to pay gas bill and gas was shut off, etc. I thought as long as I am paying rent month to month and not breaking any laws etc, that he cannot push me out even with a 30 day notice.

And I wrong here?