ROCHESTER, N.Y. (AP) -- A former postmaster for an upstate New York post office has been sentenced to two years' probation for stealing nearly $20,000 from the U.S. government.

The U.S. Attorney's Office in Rochester says 27-year-old Jennifer Passeck, of Sodus Point, was also sentenced Thursday to six months home detention after being convicted of theft of public money.

Prosecutors say Passeck was the relief postmaster at the post office in Sodus Point, in Wayne County 30 miles east of Rochester. Authorities say while Passeck was in charge between March 2013 and March 2015 she stole more than $19,000 in stamps and post office box rental payments and issued money orders to herself.

The investigation was conducted by the U.S. Postal Service's Office of Inspector General.