was askedA casual explanatory form meaning that someone asked the speaker to do something. 頼まれた is the passive form of 頼む (to ask or request), and んだ adds emphasis or explanation.
JA: 友達に駅まで送ってくれと頼まれたんだ。
EN: My friend asked me to drive them to the station.