The defense attorney asked the judge to take the defendants' ages into account.

Literal

Defense-attorney [topic-は] judge [to-に] defendants [gen-の] age [obj-を] consider [so that-ように] requested.

Indirect command via ~ように求める: 'requested that [clause] be done.' 弁護人 is 'defense counsel,' more specific than 弁護士 ('lawyer'); 人 is the role-in-proceedings. 考慮する ('consider, take into account') is formal courtroom vocabulary. The structure [person]に[clause]ように求める is the standard frame for indirect requests in formal contexts.