New form of sufficient optimality condition is obtained in comparison with the Mangasarian sufficiency theorem. Both finite and infinite values of objective functional are allowed since concepts of overtaking and weakly overtaking optimality are implied. Examples, where new conditions can be applied are presented. The conditions are shown to be both necessary and sufficient, when Hamiltonian is linear with respect to state and control.