Western officials said on Thursday that Russian generals are getting killed in Ukraine because they keep going near the front lines.

The country said it has killed four generals since the start of the invasion. Senior military officers are usually not meant to be in the direct line of fire.

Russian generals have to go closer to the front to guide their troops because things are going badly, according to the officials.

They need to provide more close-up supervision, going further forward and becoming vulnerable to enemy action.

The officials said that the Russian forces were very low-spirited, which made top commanders feel obliged to get closer to the front.

They spoke to the media, but only as officials from a Western government.

The Ukrainians said that it had killed a Russian general.

The Russian assault on the city of Mariupol resulted in the death of Mityaev, according to an advisor to the Ukrainian Interior Ministry.

The other Russian generals have been killed.

The New York Times reported on Thursday that one general was killed after using an untraceable line to communicate, which allowed the Ukrainians to find him.