Appeal from a judgment of the Supreme Court, Monroe County (Stephen R. Sirkin, A.J.), rendered November 20, 2008. The judgment convicted defendant, upon a nonjury verdict, of criminal possession of a weapon in the second degree and criminal possession of a weapon in the third degree.
It is hereby ordered that the judgment so appealed from is unanimously affirmed.
In People v Wilt (105 AD2d 1089, 1090 [1984]), this Court concluded that there was no “ ‘rational connection’ ” between the discovery of the gun in the trunk of the vehicle in which the defendant was riding and his presumed possession of the gun. We noted that defendant had testified in his own defense that he had only been in the vehicle for five or six minutes to look for his girlfriend and did not know that a gun was inside the trunk. Defendant also testified that he had never looked in the trunk of the vehicle, which was missing its trunk lock. We further noted that defendant’s testimony was corroborated by several witnesses (see id. at 1090). Here, unlike in Wilt, the weapon was found on the floorboards of the right rear passenger seat, and defendant was in that passenger seat. Defendant chose not to testify in his own defense and did not call any witnesses in order to rebut the presumption. In our view, it was rational to presume that defendant had both the ability and the intent to exercise dominion and control over the weapon, and thus the evidence is legally sufficient to establish that there was a “ ‘rational connection’ ” between the discovery of the weapon and defendant’s presumed possession of the weapon (id.; see Leary v United States, 395 US 6, 33-34 [1969]; People v Glenn, 185 AD2d 84, 89-90 [1992]).
Also contrary to defendant’s contention, viewing the evidence in light of the elements of the crimes in this nonjury trial (see People v Danielson, 9 NY3d 342, 349 [2007]), we conclude that