REDWOOD CITY -- Doctors were appointed Tuesday to determine if a Wyoming man charged with stealing a yacht worth millions and running it aground in Pacifica is mentally well enough for trial, according to a prosecutor.

San Mateo County Superior Court Judge Jonathan Karesh assigned two doctors to evaluate whether Leslie Alan Gardner, 62, of Gillette, Wyo., can aid in his own defense, District Attorney Steve Wagstaffe said.

Gardner faces three felonies, including grand theft, for allegedly stealing the 82-foot luxury yacht Darling from a Sausalito harbor. The yacht ran aground early March 4 on a Pacifica beach with Gardner and two other people on board.

An Aptos couple who spent the night drinking aboard the more than $2 million boat believed he had inherited the vessel. Prosecutors didn't file criminal charges against them.

Karesh appointed the doctors after defense attorney John May signaled he had doubts about his client's mental competency. The attorney didn't respond to a phone message seeking comment.

If the doctors decide Gardner isn't well enough to defend himself he would likely end up in a state mental hospital. Doctors there would decide if he becomes competent for trial. The doctors' reports are due back April 30, Wagstaffe said.

Gardner is being held at San Mateo County jail in lieu of $1.01 million bail, Wagstaffe said.

Contact Joshua Melvin at 650-348-4335. Follow him at Twitter.com/melvinreport.