A Connecticut assistant principal who allegedly threw a hamburger at a student resigned two weeks ago but will still be paid through February.

Patricia Whitney submitted her letter of resignation from West Haven High School to the School Board and Superintendent Neil Cavallaro on August 13.

In May, Whitney allegedly got into an altercation with a female student in the school cafeteria. That student allegedly threw a hamburger at Whitney, who then threw it back at the student.

Also on NBCConnecticut.com: Pet owners fall victim to lost pet scam

The board voted on Monday to accept the resignation. Whitney signed the letter and the agreement presented to her by the board The agreement states that Whitney will be paid through Feb. 28 or until she obtains comparable employment. If she finds another job that pays less, the school district will pay the difference.

The school district will also provide Whitney with health insurance.

According to the New Haven Register, Whitney‘s salary was between $118,000 and $120,000.

More content from NBCNews.com:

Follow US News from NBCNews.com on Twitter and Facebook