BANGKOK (AP) — Police took a man into custody Friday after he fired multiple gunshots into the air in central Bangkok, injuring no one less than a week after a soldier killed 29 people in shooting rampage in northeastern Thailand.

The incident in the Thai capital was related to a personal conflict, Lt. Gen. Pakkapong Pongpetra, chief of the Metropolitan Police Bureau, told reporters.

He said the suspect surrendered and agreed to accompany police to their station.

The man was reported to have fired 20-40 shots during the incident lasting more than six hours in a residential neighborhood with small shops, many selling sporting goods, next to Chulalongkorn University.

Police had cleared the area around the building and Thai media reported a family member was brought in to try to convince him to surrender.

Last Saturday, a Thai soldier angered over a land dispute killed his commanding officer and the officer’s mother-in-law before stealing more weapons and heading to the Terminal 21 Korat mall in Nakhon Ratchasima.

He holed up there for several hours before security forces killed him, ending the rampage in which he killed 29 people in Thailand’s largest mass shooting.