SEATTLE — Two men accused of plotting to attack a military recruiting station in Seattle are scheduled for detention hearings Wednesday as they begin the legal process that could put them in prison for life.

Abu Khalid Abdul-Latif, also known as Joseph Anthony Davis, and Walli Mujahidh, also known as Frederick Domingue Jr., were arrested June 22 after an anti-terror investigation with the help of an informant.

The two are accused of planning to use machine guns and grenades in an attempt to kill as many military people as possible at a Seattle center that processes military recruits.

The 33-year-old Abdul-Latif is a Seattle-area resident. The 32-year-old Mujahidh is a former Seattle resident who traveled from Los Angeles.