When the officer pursued Sam after retrieving the marijuana, Sam attempted to elude the officer, exited his car and ran into an apartment building. The officer followed Sam into the apartment building, without a warrant. The officer arrested Sam inside the building, also without a warrant. The arrest is: