Passive of trouble
have something (annoying) happen to you
Affected person は + doer に + (thing を) + passive
Sign up free to review this point on a spaced schedule.
The Japanese passive has a use English lacks: saying that something happened to you and you were put out by it. 雨に降られた, "I got rained on"; 弟にケーキを食べられた, "my little brother ate my cake (and I'm not happy)".
The affected person is the subject, the doer takes に, and the thing affected keeps を: 電車で足を踏まれた, "someone stepped on my foot on the train".
It works even with verbs that have no object, which English can't passivise at all: 赤ちゃんに泣かれて寝られなかった, "the baby cried (on me) and I couldn't sleep".
Compare 弟がケーキを食べた, a neutral report. The passive version tells the listener how you feel about it.
Examples
帰りに雨に降られました。
I got caught in the rain on the way home.
弟に私のケーキを食べられた。
My little brother went and ate my cake.
電車で足を踏まれました。
Someone stepped on my foot on the train.
夜中に赤ちゃんに泣かれて、寝られなかった。
The baby cried in the night, so I couldn't sleep.
電車で財布を盗まれました。
My wallet was stolen on the train.