A top Defense Department official, in a pique over a neighborhood parking dispute, has been arrested and will do 32 hours of community service at a local food bank.

Bryan Whitman, a civilian leader in the Pentagon's public affairs office, was charged with three counts of theft for stealing license plates off a car belonging to a neighbor's nanny and leaving a threatening note. The charges, which came to light Wednesday, stunned Pentagon officials and co-workers, and raised questions about any additional Defense Department investigation.

In an agreement reached with the Superior Court in Washington, D.C., the charges against him will be dropped if he pays $1,000 in restitution, does the community service, stays away from the neighbors and the nanny and doesn't get into trouble for 10 months.

According to U.S. officials, Pentagon leaders didn't learn about the problem until they were contacted Wednesday by The Washington Post, which was first to report the arrest.

The dispute began in early April 4, when Whitman allegedly put a note on a car belonging to the nanny, which was parked in his neighborhood.

"I know you are misusing this visitor pass to park here daily. If you do not stop I will report it, have your car towed and the resident who provided this to you will have his privileges taken away," the note on her white Lexus said, according to the police report.

Two days later, both of her license plates were taken. The family she works for replaced the plates and two days later the rear license plate was taken. The family then mounted a camera outside that covered the street and sidewalk, and on April 21 the rear plate was taken again, but this time they had it on video.

The Associated Press is not identifying the nanny or the family who were the apparent victims of the theft.

Terry Owens, a spokesman for the District Department of Transportation, said it's legal for nannies or babysitters to use visitor parking passes at any time.

According to the police report, officers reviewed the video — which showed a man moving around the nanny's car and crouched down at the rear of the vehicle — and then went to Whitman's house in late April with a warrant. The report said that, when asked about the license plates, Whitman went to his car and retrieved them and turned them over to the police.

Whitman was charged on May 5, and on Tuesday he reached a deferred prosecution agreement with the court for the restitution and community service.

Gordon Trowbridge, the Pentagon's deputy press secretary, said Whitman was still in his job. But he did not provide any other details because it is a personnel matter. He said he could not confirm whether there is any other Defense Department investigation into the matter, but said he is not aware of any probe by the Inspector General.

Whitman has a security clearance, and under Defense Department regulations, he is required to notify officials if he is arrested. He did not respond to a request for comment.