MANILA, Philippines (CNN) -- Dramatically played out on live television, an opposition politician and rebel military officers surrendered to government forces after taking over a luxury hotel in Manila.
"We're going out for the sake of the safety of everybody," Philippines Sen. Antonio Trillanes said.
The senator made the decision to give up after the military peppered the inside of the hotel with tear gas. Live pictures from inside the hotel showed reporters and rebel soldiers covering their faces.
An armored personnel vehicle was also seen firing into the lobby of Manila's Peninsula hotel and later rammed through the front entrance of the building.
"The situation is contained within the Peninsula hotel, Philippine Defense Secretary Gilberto Teodoro told CNN.
"The perpetrators are in the process of being arrested." Those who held the hotel were shown being loaded into a Philippine National Police bus.
Teodoro said no one was injured, but Associated Press reported that at least two people were injured.
The standoff began hours earlier when a group led by Trillanes and Army Brig. Gen. Danilo Lim bolted from a court hearing on charges linked to a failed 2003 coup attempt. Watch footage of troops storming the hotel in Manila »
"What happened, to me, was clearly either an attempted rebellion or an attempted coup d'etat," Teodoro said.
Philippines military and police personnel had been surrounding the hotel, where the group was asking for President Gloria Macapagal Arroyo to step down. After Trillanes' announcement, soldiers milled around the outside of the hotel, but the scene had calmed noticeably.
Arroyo had issued orders to the military and police in response to the seizure of the hotel, located in Manila's Makati financial district, journalist Adrian Addison told CNN. Few supporters of the rebels were visible around the Peninsula hotel, Addison said.
Philippine authorities gave the rebel group until 2:30 p.m. (0630 GMT) to allow guests to leave the hotel, and until 3:00 p.m. (0700 GMT) to surrender, the ABS-CBN news service reported.
Businessman Peter Parcel was caught in the middle of the hotel's takeover and subsequent tear-gassing. Listen to the eyewitness in the hotel describe what happened »
"I couldn't see and couldn't breathe," he said, noting he faced "at least 100 guns" as he exited the hotel. E-mail to a friend