Ordered that the appeal and the cross appeal from the order are dismissed, without costs or disbursements; and it is further,
Ordered that the judgment is modified, on the law, (1) by deleting the provision thereof awarding the defendant a separate property credit in the sum of $22,500 related to the marital residence, (2) by deleting the provision thereof awarding the
The appeal and cross appeal from the intermediate order must be dismissed because the right of direct appeal and cross appeal therefrom terminated with the entry of judgment in the action (see Matter of Aho, 39 N.Y.2d 241 ). The issues raised on the appeal and cross appeal from the order are brought up for review and have been considered on the appeal and cross appeal from the judgment (see CPLR 5501 [a] ).
"`[T]he amount and duration of maintenance is a matter committed to the sound discretion of the trial court, and every case must be determined on its own unique facts' (Wortman v Wortman, 11 A.D.3d 604, 606 )" (Griggs v Griggs, 44 A.D.3d 710, 711 ; see also Xikis v Xikis, 43 A.D.3d 1040 ; Mazzone v Mazzone, 290 A.D.2d 495 ). "The overriding purpose of a maintenance award is to give the spouse economic independence, and it should be awarded for a duration that would provide the recipient with enough time to become self-supporting (see Scarlett v Scarlett, 35 A.D.3d 710 , supra; Bains v Bains, 308 A.D.2d 557, 559 ; Chalif v Chalif, 298 A.D.2d 348 )" (Sirgant v Sirgant, 43 A.D.3d 1034, 1035 ; see also Walter v Walter, 38 A.D.3d 763 ). "In determining the appropriate amount and duration of maintenance, the court is required to consider, among other factors, the standard of living of the parties during the marriage and the present and future earning capacity of both parties (see Domestic Relations Law § 236 [B]  [A] ...)" (Haines v Haines, 44 A.D.3d 901, 902  [citations omitted]).
The Supreme Court providently exercised its discretion in determining the monthly amount of maintenance, but improvidently exercised its discretion in limiting the duration of the maintenance award to two years. Taking into consideration all the relevant factors, including the plaintiff's age, education, extended absence from the work force while raising the parties' five children, who are still minors, and the present and future earning capacities of both parties, the duration of the award of maintenance should be extended until March 14, 2013. The extension of the defendant's maintenance obligation, until the two youngest boys are college age, should afford the plaintiff a sufficient opportunity to become self-supporting.
The Supreme Court is vested with the discretion to make an award of an attorney's fee, having consideration for the respective financial circumstances of the parties, together with all the circumstances of the case (see DeCabrera v Cabrera-Rosete, 70 N.Y.2d 879 ; see also O'Shea v O'Shea, 93 N.Y.2d 187 ). "Where the parties' respective financial positions give one a distinct advantage over the other, the court may direct the monied spouse to pay counsel fees to the attorney for the non-monied spouse (see Silverman v Silverman, 304 A.D.2d 41, 48 )" (Kaplan v Kaplan, 28 A.D.3d 523, 523 ; see also Sevdinoglou v Sevdinoglou, 40 A.D.3d 959 ). "An appropriate award of attorney's fees should take into account the parties' ability to pay, the nature and extent of the services rendered, the complexity of the issues involved, and the reasonableness of the fees under all of the circumstances" (Grumet v Grumet, 37 A.D.3d 534, 536 ).
The Supreme Court providently exercised its discretion in determining that the plaintiff was entitled to an award of an attorney's fee. However, given all the circumstances of this case, we find that an attorney's fee in the sum of $100,000 is appropriate (cf. Stadok v Stadok, 25 A.D.3d 547 ).
The parties' remaining contentions are without merit.